.page-faq {
  --faq-deco: rgba(30, 30, 30, 0.1);
  --faq-paper-soft: rgba(245, 240, 230, 0.6);
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
}

.page-faq .faq-hero {
  position: relative;
  overflow: hidden;
  padding: 28px 0 40px;
}

.page-faq .faq-hero::after {
  content: "";
  position: absolute;
  right: -70px;
  top: -70px;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: var(--light-green);
  z-index: 0;
}

.page-faq .faq-hero .container {
  position: relative;
  z-index: 1;
}

.page-faq .faq-hero .breadcrumb {
  margin-bottom: 24px;
}

.page-faq .faq-hero__grid {
  display: grid;
  gap: 24px;
  align-items: center;
}

.page-faq .faq-hero__title {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 32px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin: 12px 0 14px;
}

.page-faq .faq-hero__desc {
  font-size: 15px;
  line-height: 1.8;
  color: rgba(30, 30, 30, 0.78);
  margin: 0 0 20px;
  max-width: 56ch;
}

.page-faq .faq-hero__stat {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  background: var(--white);
  border-radius: var(--radius-full);
  padding: 10px 18px;
  box-shadow: var(--shadow-sm);
}

.page-faq .faq-hero__stat-num {
  font-family: var(--font-head);
  font-size: 26px;
  font-weight: 900;
  color: var(--orange);
  line-height: 1;
}

.page-faq .faq-hero__stat-label {
  font-size: 13px;
  color: var(--warm-gray);
}

.page-faq .faq-hero__img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  object-fit: cover;
  box-shadow: var(--shadow-md);
}

.page-faq .faq-layout {
  display: grid;
  gap: 28px;
  padding-bottom: 48px;
}

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

.page-faq .faq-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 14px 0 18px;
  border-bottom: 1px solid var(--faq-deco);
  margin-bottom: 28px;
}

.page-faq .faq-filters__label {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  color: var(--warm-gray);
  letter-spacing: 0.04em;
  margin-right: 6px;
}

.page-faq .filter-btn {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  border: 1.5px solid var(--ink);
  border-radius: var(--radius-full);
  padding: 7px 16px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: background 0.25s var(--ease-out), color 0.25s var(--ease-out), transform 0.25s var(--ease-out);
}

.page-faq .filter-btn:hover,
.page-faq .filter-btn.is-active {
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-1px);
}

.page-faq .faq-accordion {
  display: grid;
  gap: 32px;
}

.page-faq .faq-cluster {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px 18px;
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--grass);
}

.page-faq .faq-cluster[data-filter-category="version"] {
  border-top-color: var(--navy);
}

.page-faq .faq-cluster[data-filter-category="privacy"] {
  border-top-color: var(--deep-green);
}

.page-faq .cluster-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 18px;
}

.page-faq .cluster-head--orange .cluster-index {
  color: var(--orange);
}

.page-faq .cluster-head--navy .cluster-index {
  color: var(--navy);
}

.page-faq .cluster-head--deep .cluster-index {
  color: var(--deep-green);
}

.page-faq .cluster-head--gray .cluster-index {
  color: var(--warm-gray);
}

.page-faq .cluster-index {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 24px;
  line-height: 1;
  color: var(--grass);
}

.page-faq .cluster-title {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 900;
  margin: 0;
  line-height: 1.3;
}

.page-faq .cluster-desc {
  font-size: 14px;
  color: var(--warm-gray);
  margin: -6px 0 18px;
}

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

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

.page-faq .faq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 0;
  cursor: pointer;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  line-height: 1.5;
  transition: color 0.2s ease;
}

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

.page-faq .faq-item summary::before {
  content: "";
  width: 6px;
  height: 24px;
  border-radius: 3px;
  background: var(--grass);
  flex-shrink: 0;
}

.page-faq .faq-cluster[data-filter-category="version"] .faq-item summary::before {
  background: var(--navy);
}

.page-faq .faq-cluster[data-filter-category="privacy"] .faq-item summary::before {
  background: var(--deep-green);
}

.page-faq .faq-item summary::after {
  content: "+";
  margin-left: auto;
  font-size: 26px;
  font-weight: 400;
  color: var(--warm-gray);
  line-height: 1;
  transition: transform 0.25s var(--ease-out), color 0.25s ease;
}

.page-faq .faq-item[open] summary::after {
  transform: rotate(45deg);
  color: var(--orange);
}

.page-faq .faq-item__body {
  padding: 0 0 20px 20px;
  font-size: 14px;
  line-height: 1.85;
  color: rgba(30, 30, 30, 0.78);
}

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

.page-faq .faq-item__body a,
.page-faq .faq-callout__more a {
  color: var(--deep-green);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-faq kbd {
  font-family: var(--font-head);
  font-size: 12px;
  background: var(--paper);
  border: 1px solid var(--faq-deco);
  border-bottom-width: 2px;
  border-radius: 4px;
  padding: 1px 6px;
}

.page-faq .faq-guide {
  background: var(--light-green);
  border-radius: var(--radius-lg);
  padding: 28px 18px 24px;
  position: relative;
  overflow: hidden;
}

.page-faq .faq-guide::before {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -40px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 18px solid rgba(255, 255, 255, 0.45);
  pointer-events: none;
}

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

.page-faq .faq-steps__item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.75);
  padding: 16px;
  border-radius: var(--radius-md);
  transition: background 0.25s ease, transform 0.25s var(--ease-out);
  position: relative;
}

.page-faq .faq-steps__item:hover {
  background: var(--white);
  transform: translateX(4px);
}

.page-faq .faq-steps__num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
}

.page-faq .faq-steps__content strong {
  font-family: var(--font-head);
  font-size: 15px;
  display: block;
  margin-bottom: 3px;
}

.page-faq .faq-steps__content p {
  font-size: 13px;
  line-height: 1.7;
  margin: 0;
  color: rgba(30, 30, 30, 0.65);
}

.page-faq .faq-guide__media {
  margin: 24px 0 0;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 12px;
  box-shadow: var(--shadow-sm);
  position: relative;
  z-index: 1;
}

.page-faq .faq-guide__media img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  display: block;
}

.page-faq .faq-guide__media figcaption {
  text-align: center;
  font-size: 12px;
  color: var(--warm-gray);
  padding: 10px 8px 4px;
}

.page-faq .faq-tips {
  padding: 8px 0 4px;
}

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

.page-faq .faq-tip-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 22px 18px;
  box-shadow: var(--shadow-sm);
  border-left: 5px solid var(--deep-green);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s ease;
}

.page-faq .faq-tip-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.page-faq .faq-tip-card__icon {
  font-size: 28px;
  line-height: 1;
  display: block;
  margin-bottom: 10px;
}

.page-faq .faq-tip-card h3 {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 900;
  margin: 0 0 8px;
}

.page-faq .faq-tip-card p {
  font-size: 13px;
  line-height: 1.75;
  color: rgba(30, 30, 30, 0.72);
  margin: 0;
}

.page-faq .faq-records {
  margin-top: 36px;
}

.page-faq .faq-records__inner {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 22px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-faq .faq-records__inner::before {
  content: "";
  position: absolute;
  left: -50px;
  top: -50px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  border: 16px solid rgba(255, 255, 255, 0.08);
}

.page-faq .faq-records__inner .section-kicker {
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.14em;
  position: relative;
}

.page-faq .faq-records__inner h2 {
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 900;
  margin: 8px 0 10px;
  position: relative;
}

.page-faq .faq-records__inner > p {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.75);
  margin: 0 auto 18px;
  max-width: 52ch;
  position: relative;
}

.page-faq .faq-records__card {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-full);
  padding: 14px 28px;
  margin-bottom: 22px;
  position: relative;
}

.page-faq .faq-records__version {
  font-family: var(--font-head);
  font-weight: 900;
  color: var(--orange);
  font-size: 18px;
}

.page-faq .faq-records__text {
  font-family: var(--font-head);
  font-size: 18px !important;
  font-weight: 700;
  margin: 0 !important;
  color: var(--white) !important;
}

.page-faq .faq-records__inner .btn-ghost {
  position: relative;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.6);
  background: transparent;
}

.page-faq .faq-records__inner .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}

.page-faq .faq-callout {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  background: var(--orange);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  margin-top: 20px;
  color: var(--white);
}

.page-faq .faq-callout__text {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 20px;
  flex: 1 1 100%;
  margin: 0;
}

.page-faq .faq-callout__more {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.9);
}

.page-faq .faq-callout__more a {
  color: var(--white);
  font-weight: 700;
  text-decoration-color: rgba(255, 255, 255, 0.5);
}

.page-faq .faq-callout .btn-primary {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}

.page-faq .faq-rail__inner {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 22px 16px;
  box-shadow: var(--shadow-sm);
}

.page-faq .faq-rail__inner > h2 {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 900;
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.page-faq .faq-rail__inner > h2::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  flex-shrink: 0;
}

.page-faq .faq-map {
  display: flex;
  overflow-x: auto;
  gap: 8px;
  scrollbar-width: none;
}

.page-faq .faq-map::-webkit-scrollbar {
  display: none;
}

.page-faq .faq-map__item {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s var(--ease-out);
  font-size: 14px;
  flex-shrink: 0;
  white-space: nowrap;
}

.page-faq .faq-map__item:hover {
  background: var(--light-green);
  border-color: rgba(62, 179, 113, 0.3);
  transform: translateX(3px);
}

.page-faq .faq-map__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.page-faq .faq-map__dot--grass {
  background: var(--grass);
}

.page-faq .faq-map__dot--orange {
  background: var(--orange);
}

.page-faq .faq-map__dot--navy {
  background: var(--navy);
}

.page-faq .faq-map__dot--deep {
  background: var(--deep-green);
}

.page-faq .faq-map__dot--gray {
  background: var(--warm-gray);
}

.page-faq .faq-map__idx {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 900;
  color: var(--warm-gray);
  min-width: 22px;
}

.page-faq .faq-map__label {
  font-weight: 700;
}

.page-faq .faq-rail__tip {
  font-size: 12px;
  background: var(--light-green);
  padding: 12px;
  border-radius: var(--radius-sm);
  margin: 16px 0 0;
  color: var(--deep-green);
  line-height: 1.7;
}

@media (min-width: 768px) {
  .page-faq .faq-hero {
    padding: 36px 0 56px;
  }

  .page-faq .faq-hero__grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 36px;
  }

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

  .page-faq .faq-hero__desc {
    font-size: 16px;
  }

  .page-faq .faq-cluster {
    padding: 32px 28px;
  }

  .page-faq .faq-steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .page-faq .faq-steps__item {
    flex-direction: column;
    height: 100%;
  }

  .page-faq .faq-steps__item:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 38px;
    right: -13px;
    width: 12px;
    height: 12px;
    border-top: 2px solid var(--orange);
    border-right: 2px solid var(--orange);
    transform: rotate(45deg);
    z-index: 1;
  }

  .page-faq .faq-steps__num {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

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

  .page-faq .faq-guide,
  .page-faq .faq-records__inner {
    padding: 36px 30px;
  }

  .page-faq .faq-rail__inner {
    padding: 24px 18px;
  }

  .page-faq .faq-map {
    display: grid;
    overflow: visible;
  }

  .page-faq .faq-map__item {
    flex-shrink: 1;
    white-space: normal;
  }
}

@media (min-width: 1024px) {
  .page-faq .faq-layout {
    grid-template-columns: minmax(0, 1fr) 264px;
    gap: 40px;
    align-items: start;
    padding-bottom: 72px;
  }

  .page-faq .faq-main {
    order: 1;
  }

  .page-faq .faq-rail {
    order: 2;
  }

  .page-faq .faq-rail__inner {
    position: sticky;
    top: calc(var(--header-h) + 24px);
  }

  .page-faq .faq-filters {
    padding: 18px 0 22px;
  }

  .page-faq .faq-callout {
    padding: 32px 30px;
  }
}
