:root {
  --mt-faq-text: #222;
  --mt-faq-muted: #555;
  --mt-faq-line: #d9d9d9;
  --mt-faq-accent: #222;
  --mt-faq-shell: 980px;
}

.mt-faq-page {
  color: var(--mt-faq-text);
}

.mt-faq-shell {
  width: min(calc(100% - 40px), var(--mt-faq-shell));
  margin: 0 auto;
}

.mt-faq-hero {
  padding: 20px 0 12px;
}

.mt-faq-kicker {
  display: none;
}

.mt-faq-title {
  margin: 0;
  font-size: 2rem;
  line-height: 1.2;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.mt-faq-subtitle {
  margin: 10px 0 0;
  color: var(--mt-faq-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.mt-faq-lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 18px;
  padding: 3px;
  border: 1px solid var(--mt-faq-line);
  border-radius: 999px;
  background: #fff;
  vertical-align: middle;
}

.mt-faq-lang {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 92px;
  height: 34px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--mt-faq-muted);
  font-size: 0.9rem;
  line-height: 1;
  text-align: center;
  cursor: pointer;
  appearance: none;
}

.mt-faq-lang:hover,
.mt-faq-lang:focus-visible {
  color: var(--mt-faq-text);
  outline: none;
}

.mt-faq-lang.is-active {
  background: var(--mt-faq-accent);
  color: #fff;
}

.mt-faq-content {
  padding: 8px 0 48px;
}

.mt-faq-intro {
  margin-bottom: 18px;
}

.mt-faq-section-title {
  display: none;
}

.mt-faq-section-text {
  margin: 0;
  color: var(--mt-faq-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.mt-faq-list {
  border-top: 1px solid var(--mt-faq-line);
}

.mt-faq-item {
  border-bottom: 1px solid var(--mt-faq-line);
}

.mt-faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  margin: 0;
  padding: 18px 0;
  border: 0;
  background: transparent;
  color: var(--mt-faq-text);
  text-align: left;
  cursor: pointer;
  appearance: none;
}

.mt-faq-question:hover {
  opacity: 0.85;
}

.mt-faq-question:focus-visible {
  outline: 1px solid var(--mt-faq-line);
  outline-offset: 2px;
}

.mt-faq-question-text {
  display: block;
  flex: 1 1 auto;
  min-width: 0;
  font-size: 1rem;
  line-height: 1.6;
  font-weight: 400;
}

.mt-faq-icon {
  position: relative;
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  margin-top: 2px;
}

.mt-faq-icon::before,
.mt-faq-icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 1px;
  background: var(--mt-faq-text);
  transform: translate(-50%, -50%);
  transition: opacity 180ms ease;
}

.mt-faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.mt-faq-question[aria-expanded='true'] .mt-faq-icon::after {
  opacity: 0;
}

.mt-faq-answer {
  max-height: 0;
  overflow: hidden;
  visibility: hidden;
  transition:
    max-height 220ms ease,
    visibility 0s linear 220ms;
}

.mt-faq-answer.is-open {
  visibility: visible;
  transition:
    max-height 220ms ease,
    visibility 0s linear 0s;
}

.mt-faq-answer-inner {
  padding: 0 0 18px;
}

.mt-faq-answer-copy {
  color: var(--mt-faq-muted);
  font-size: 0.95rem;
  line-height: 1.8;
}

.mt-faq-answer-copy p {
  margin: 0;
}

.mt-faq-answer-copy p + p {
  margin-top: 10px;
}

@media (max-width: 720px) {
  .mt-faq-shell {
    width: min(calc(100% - 24px), var(--mt-faq-shell));
  }

  .mt-faq-title {
    font-size: 1.6rem;
  }

  .mt-faq-lang {
    min-width: 84px;
    height: 32px;
    padding: 0 12px;
    font-size: 0.85rem;
  }

  .mt-faq-question {
    padding: 16px 0;
  }

  .mt-faq-question-text {
    font-size: 0.95rem;
  }

  .mt-faq-answer-copy {
    font-size: 0.92rem;
  }
}
