.page-faq {
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
}

.page-faq .faq-hero {
  background: var(--cyan);
  border-bottom: 4px solid var(--ink);
}

.page-faq .faq-hero .breadcrumb {
  margin-bottom: 1rem;
  color: var(--ink);
  font-weight: 700;
  font-size: 0.9rem;
}

.page-faq .faq-hero .breadcrumb a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 1px;
}

.page-faq .faq-hero .breadcrumb a:hover {
  background: var(--yellow);
}

.page-faq .faq-hero__text {
  padding-bottom: 1.25rem;
}

.page-faq .faq-hero__tag {
  display: inline-block;
  background: var(--paper);
  border: 2px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  padding: 0.25rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.page-faq .faq-hero h1 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.85rem, 5.5vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.05;
  max-width: 12em;
}

.page-faq .faq-hero__desc {
  margin: 0;
  max-width: 45em;
  font-size: 1rem;
  line-height: 1.7;
  font-weight: 500;
}

.page-faq .faq-hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.page-faq .faq-hero__chip {
  background: var(--paper);
  border: 2px solid var(--ink);
  box-shadow: 2px 2px 0 var(--ink);
  padding: 0.25rem 0.7rem;
  font-size: 0.8rem;
  font-weight: 900;
}

.page-faq .faq-hero__art {
  display: block;
  width: 100%;
  height: auto;
  border: 3px solid var(--ink);
  box-shadow: var(--shadow);
  margin-bottom: 1.5rem;
}

.page-faq .faq-layout {
  display: grid;
  gap: 1.75rem;
  padding-top: 1.75rem;
  padding-bottom: 2.5rem;
  align-items: start;
}

.page-faq .faq-toc__inner {
  background: var(--paper);
  border: 3px solid var(--ink);
  box-shadow: var(--shadow);
  padding: 1rem;
}

.page-faq .faq-toc__title {
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 0.5rem;
}

.page-faq .faq-toc__version {
  background: var(--yellow);
  border: 2px solid var(--ink);
  font-size: 0.72rem;
  padding: 0.05rem 0.4rem;
  letter-spacing: 0.02em;
}

.page-faq .faq-toc__nav {
  display: grid;
  gap: 0.1rem;
}

.page-faq .faq-toc__link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.55rem;
  color: var(--ink);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 800;
  border-left: 4px solid var(--gray);
  transition: border-color 0.2s, background-color 0.2s;
}

.page-faq .faq-toc__link::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  background: var(--red);
  display: inline-block;
  flex-shrink: 0;
}

.page-faq .faq-toc__link:hover,
.page-faq .faq-toc__link:focus-visible {
  border-left-color: var(--red);
  background: var(--bg);
  outline: none;
}

.page-faq .faq-toc__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.9rem;
  padding-top: 0.8rem;
  border-top: 2px dashed var(--gray);
}

.page-faq .faq-toc__badge,
.page-faq .faq-toc__cat {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 900;
  padding: 0.22rem 0.6rem;
  border: 2px solid var(--ink);
  background: var(--bg);
  color: var(--ink);
  text-decoration: none;
}

.page-faq .faq-toc__badge {
  background: var(--yellow);
}

.page-faq .faq-toc__cat:hover {
  background: var(--cyan);
}

.page-faq .faq-body {
  display: grid;
  gap: 2rem;
}

.page-faq .faq-body h2 {
  margin: 0;
  font-size: 1.7rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.page-faq .faq-section__head,
.page-faq .faq-steps__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.page-faq .faq-section__count,
.page-faq .faq-steps__count {
  background: var(--ink);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 900;
  padding: 0.3rem 0.65rem;
  white-space: nowrap;
}

.page-faq .faq-section--yellow {
  background: var(--yellow);
  border: 3px solid var(--ink);
  box-shadow: var(--shadow);
  padding: 1.5rem 1.2rem;
}

.page-faq .faq-accordion {
  display: grid;
  gap: 0.8rem;
}

.page-faq .faq-item {
  background: var(--paper);
  border: 2px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
}

.page-faq .faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.85rem 0.9rem;
}

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

.page-faq .faq-item summary:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: -3px;
}

.page-faq .faq-item__num {
  font-size: 0.8rem;
  font-weight: 900;
  color: var(--ink);
  background: var(--yellow);
  border: 2px solid var(--ink);
  padding: 0.05rem 0.35rem;
  flex-shrink: 0;
}

.page-faq .faq-item__q {
  flex: 1;
  min-width: 0;
  font-weight: 800;
  line-height: 1.35;
  font-size: 0.95rem;
}

.page-faq .faq-item__icon {
  width: 1.3rem;
  height: 1.3rem;
  flex-shrink: 0;
  display: inline-grid;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--paper);
  font-size: 1rem;
  font-weight: 900;
  line-height: 1;
}

.page-faq .faq-item__icon::before {
  content: "+";
}

.page-faq .faq-item[open] .faq-item__icon {
  background: var(--ink);
  color: #fff;
}

.page-faq .faq-item[open] .faq-item__icon::before {
  content: "−";
}

.page-faq .faq-item__a {
  padding: 0.15rem 1rem 1rem 2.3rem;
  border-top: 2px dashed var(--gray);
  line-height: 1.75;
  font-size: 0.93rem;
}

.page-faq .faq-item__a p {
  margin: 0.75rem 0 0;
}

.page-faq .faq-steps {
  background: var(--paper);
  border: 3px solid var(--ink);
  box-shadow: var(--shadow);
  padding: 1.5rem 1.2rem;
}

.page-faq .faq-steps__kicker {
  display: block;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.15rem;
  color: var(--blue);
}

.page-faq .faq-steps__count {
  background: var(--blue);
}

.page-faq .faq-steps__grid {
  display: grid;
  gap: 1.2rem;
}

.page-faq .faq-step {
  background: var(--bg);
  border: 2px solid var(--ink);
  box-shadow: 5px 5px 0 var(--ink);
  padding: 1rem;
  position: relative;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.page-faq .faq-step:hover {
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 var(--ink);
}

.page-faq .faq-step--yellow {
  border-top: 10px solid var(--yellow);
}

.page-faq .faq-step--cyan {
  border-top: 10px solid var(--cyan);
}

.page-faq .faq-step--coral {
  border-top: 10px solid var(--coral);
}

.page-faq .faq-step__index {
  position: absolute;
  top: -0.9rem;
  right: 1rem;
  width: 2.2rem;
  height: 2.2rem;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  font-weight: 900;
  border: 2px solid var(--ink);
  border-radius: 50%;
  transform: rotate(6deg);
  background: var(--paper);
}

.page-faq .faq-step--yellow .faq-step__index {
  background: var(--yellow);
}

.page-faq .faq-step--cyan .faq-step__index {
  background: var(--cyan);
}

.page-faq .faq-step--coral .faq-step__index {
  background: var(--coral);
}

.page-faq .faq-step h3 {
  font-size: 1.3rem;
  font-weight: 900;
  margin: 0.5rem 0 0.2rem;
}

.page-faq .faq-step__list {
  margin: 0.75rem 0 1rem;
  padding-left: 1.2rem;
  display: grid;
  gap: 0.55rem;
  font-size: 0.93rem;
  line-height: 1.6;
}

.page-faq .faq-step__list li::marker {
  color: var(--red);
  font-weight: 900;
}

.page-faq .faq-step__tag {
  display: inline-block;
  background: var(--paper);
  border: 2px solid var(--ink);
  padding: 0.2rem 0.6rem;
  font-size: 0.78rem;
  font-weight: 900;
}

.page-faq .faq-step__hint {
  display: block;
  margin-top: 0.75rem;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  background: var(--yellow);
  border: 2px solid var(--ink);
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.4;
  padding: 0 0.5rem;
  transition: max-height 0.2s ease, opacity 0.2s ease, padding 0.2s ease;
}

.page-faq .faq-step:hover .faq-step__hint,
.page-faq .faq-step:focus-within .faq-step__hint {
  max-height: 120px;
  opacity: 1;
  padding: 0.4rem 0.5rem;
}

.page-faq .faq-steps__figure {
  grid-column: 1 / -1;
  margin: 0;
  border: 2px solid var(--ink);
  box-shadow: 5px 5px 0 var(--ink);
  background: var(--bg);
}

.page-faq .faq-steps__figure img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  border-bottom: 2px solid var(--ink);
}

.page-faq .faq-steps__figure figcaption {
  padding: 0.7rem 1rem;
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.5;
}

.page-faq .faq-timing {
  background: var(--purple);
  border: 3px solid var(--ink);
  box-shadow: var(--shadow);
  padding: 1.5rem 1.2rem;
}

.page-faq .faq-timing__head {
  display: block;
  margin-bottom: 1rem;
}

.page-faq .faq-timing__kicker {
  display: block;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.15rem;
  color: var(--yellow);
}

.page-faq .faq-timing__head h2 {
  color: #fff;
}

.page-faq .faq-timing__intro {
  margin: 0.5rem 0 0;
  color: #fff;
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 34em;
}

.page-faq .faq-timing__tablewrap {
  background: var(--paper);
  border: 2px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
}

.page-faq .faq-timing__table {
  width: 100%;
  min-width: 440px;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.page-faq .faq-timing__table th,
.page-faq .faq-timing__table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--gray);
}

.page-faq .faq-timing__table th {
  background: var(--yellow);
  font-weight: 900;
  letter-spacing: 0.04em;
}

.page-faq .faq-timing__table tr:last-child td {
  border-bottom: 0;
}

.page-faq .faq-contact {
  background: var(--coral);
  border: 3px solid var(--ink);
  box-shadow: var(--shadow);
  padding: 1.5rem 1.2rem;
}

.page-faq .faq-contact__head {
  display: block;
  margin-bottom: 1rem;
}

.page-faq .faq-contact__kicker {
  display: block;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.15rem;
  color: var(--yellow);
}

.page-faq .faq-contact__head h2 {
  color: #fff;
}

.page-faq .faq-contact__intro {
  color: #fff;
  margin: 0.4rem 0 0;
  font-size: 0.9rem;
  max-width: 38em;
}

.page-faq .faq-contact__grid {
  display: grid;
  gap: 0.6rem;
}

.page-faq .faq-contact__item {
  background: var(--paper);
  border: 2px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  padding: 0.85rem 1rem;
}

.page-faq .faq-contact__type {
  display: inline-block;
  background: var(--ink);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.15rem 0.5rem;
  margin-bottom: 0.4rem;
}

.page-faq .faq-contact__value {
  margin: 0;
  font-weight: 800;
  font-size: 0.98rem;
  line-height: 1.5;
}

.page-faq .faq-contact__btn {
  margin-top: 1.4rem;
}

@media (min-width: 768px) {
  .page-faq .faq-layout {
    grid-template-columns: 230px minmax(0, 1fr);
    gap: 2rem;
  }

  .page-faq .faq-toc {
    position: sticky;
    top: 1.5rem;
  }

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

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

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

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