.ovfaq,
.ovfaq * {
  box-sizing: border-box;
}

.ovfaq {
  --ovfaq-bg: #ffffff;
  --ovfaq-bg-soft: #f8fafc;
  --ovfaq-text: #0f172a;
  --ovfaq-muted: #64748b;
  --ovfaq-border: #e2e8f0;
  --ovfaq-accent: #4f46e5;
  --ovfaq-accent-soft: #eef2ff;
  --ovfaq-radius: 14px;
  --ovfaq-title-size: 30px;
  --ovfaq-intro-size: 15px;
  --ovfaq-question-size: 16px;
  --ovfaq-answer-size: 16px;
  --ovfaq-meta-size: 13px;
  --ovfaq-question-col: 34%;
  --ovfaq-max-width: 1360px;
  width: min(100%, var(--ovfaq-max-width));
  margin: 0 auto;
  color: var(--ovfaq-text);
  font-family: inherit;
}

.ovfaq button,
.ovfaq input,
.ovfaq select,
.ovfaq textarea {
  font-family: inherit;
}

.ovfaq-title {
  margin: 0 0 10px;
  font-family: inherit;
  font-size: var(--ovfaq-title-size);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.025em;
}

.ovfaq-intro {
  margin: 0 0 16px;
  color: var(--ovfaq-muted);
  font-family: inherit;
  font-size: var(--ovfaq-intro-size);
  line-height: 1.65;
}

.ovfaq-demo-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 26px;
  padding: 12px 14px;
  border: 1px solid #c7d2fe;
  border-radius: 10px;
  background: #eef2ff;
  color: #3730a3;
  font-family: inherit;
  font-size: var(--ovfaq-meta-size);
  line-height: 1.55;
}

.ovfaq-demo-dot {
  width: 8px;
  height: 8px;
  margin-top: 6px;
  border-radius: 50%;
  background: var(--ovfaq-accent);
  flex: 0 0 auto;
}

.ovfaq-desktop {
  display: none;
}

.ovfaq-mobile {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
}

.ovfaq-mobile-item {
  margin: 0;
  border: 1px solid var(--ovfaq-border);
  border-radius: var(--ovfaq-radius);
  background: var(--ovfaq-bg);
  overflow: clip;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
}

.ovfaq-mobile-item[open] {
  border-color: #c7d2fe;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.07);
}

.ovfaq-mobile-question {
  list-style: none;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 24px;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  padding: 14px 18px;
  cursor: pointer;
  user-select: none;
  font-family: inherit;
  font-weight: 700;
  line-height: 1.4;
}

.ovfaq-mobile-question::-webkit-details-marker {
  display: none;
}

.ovfaq-mobile-question:hover {
  background: var(--ovfaq-bg-soft);
}

.ovfaq-mobile-question:focus-visible,
.ovfaq-desktop-question:focus-visible,
.ovfaq-image-link:focus-visible {
  outline: 3px solid rgba(79, 70, 229, 0.25);
  outline-offset: 2px;
}

.ovfaq-question-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--ovfaq-accent-soft);
  color: var(--ovfaq-accent);
  font-family: inherit;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  flex: 0 0 auto;
}

.ovfaq-question-text {
  min-width: 0;
  font-family: inherit;
  font-size: var(--ovfaq-question-size);
}

.ovfaq-chevron {
  position: relative;
  width: 20px;
  height: 20px;
  justify-self: end;
}

.ovfaq-chevron::before,
.ovfaq-chevron::after {
  content: '';
  position: absolute;
  top: 9px;
  width: 9px;
  height: 2px;
  border-radius: 999px;
  background: #64748b;
  transition: transform 180ms ease;
}

.ovfaq-chevron::before {
  left: 2px;
  transform: rotate(45deg);
}

.ovfaq-chevron::after {
  right: 2px;
  transform: rotate(-45deg);
}

.ovfaq-mobile-item[open] .ovfaq-chevron::before {
  transform: rotate(-45deg);
}

.ovfaq-mobile-item[open] .ovfaq-chevron::after {
  transform: rotate(45deg);
}

.ovfaq-mobile-answer {
  padding: 0 18px 22px 64px;
}

.ovfaq-answer-copy {
  color: #334155;
  font-family: inherit;
  font-size: var(--ovfaq-answer-size);
  line-height: 1.72;
}

.ovfaq-mobile-answer > .ovfaq-answer-copy {
  border-top: 1px solid var(--ovfaq-border);
  padding-top: 18px;
}

.ovfaq-answer-copy p {
  margin: 0 0 14px;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}

.ovfaq-answer-copy p:last-child {
  margin-bottom: 0;
}

.ovfaq-answer-copy strong {
  color: var(--ovfaq-text);
}

.ovfaq-figure {
  margin: 22px 0 0;
}

.ovfaq-image-link {
  display: block;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--ovfaq-border);
  background: #f1f5f9;
}

.ovfaq-image {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
}

.ovfaq-figure figcaption {
  margin-top: 8px;
  color: var(--ovfaq-muted);
  font-family: inherit;
  font-size: var(--ovfaq-meta-size);
  line-height: 1.45;
}

@media (max-width: 720px) {
  .ovfaq-demo-note {
    margin-bottom: 18px;
  }

  .ovfaq-mobile-question {
    grid-template-columns: 28px minmax(0, 1fr) 20px;
    gap: 9px;
    min-height: 58px;
    padding: 13px;
  }

  .ovfaq-question-number {
    width: 26px;
    height: 26px;
    border-radius: 8px;
    font-size: 11px;
  }

  .ovfaq-mobile-answer {
    padding: 0 13px 18px;
  }

  .ovfaq-mobile-answer > .ovfaq-answer-copy {
    padding-top: 15px;
  }
}

@media (min-width: 1100px) {
  .ovfaq-mobile {
    display: none;
  }

  .ovfaq-desktop {
    display: grid;
    grid-template-columns: minmax(300px, var(--ovfaq-question-col)) minmax(0, 1fr);
    gap: 30px;
    align-items: start;
  }

  .ovfaq-desktop-questions {
    position: sticky;
    top: 24px;
    overflow: hidden;
    border: 1px solid var(--ovfaq-border);
    border-radius: 16px;
    background: var(--ovfaq-bg);
    box-shadow: 0 8px 26px rgba(15, 23, 42, 0.055);
  }

  .ovfaq-desktop-questions-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 50px;
    padding: 0 16px;
    border-bottom: 1px solid var(--ovfaq-border);
    background: var(--ovfaq-bg-soft);
    color: var(--ovfaq-muted);
    font-family: inherit;
    font-size: var(--ovfaq-meta-size);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.055em;
  }

  .ovfaq-desktop-questions-head span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 24px;
    padding: 0 7px;
    border-radius: 999px;
    background: var(--ovfaq-accent-soft);
    color: var(--ovfaq-accent);
    font-size: 12px;
  }

  .ovfaq-desktop-questions-scroll {
    max-height: min(72vh, 760px);
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
  }

  .ovfaq-desktop-question {
    position: relative;
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) 18px;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 62px;
    margin: 0;
    padding: 12px 14px;
    border: 0;
    border-bottom: 1px solid var(--ovfaq-border);
    border-radius: 0;
    background: var(--ovfaq-bg);
    color: var(--ovfaq-text);
    text-align: left;
    cursor: pointer;
    font-family: inherit;
    font-weight: 650;
    line-height: 1.38;
    transition: background 140ms ease, color 140ms ease;
  }

  .ovfaq-desktop-question:last-child {
    border-bottom: 0;
  }

  .ovfaq-desktop-question::before {
    content: '';
    position: absolute;
    inset: 0 auto 0 0;
    width: 3px;
    background: transparent;
  }

  .ovfaq-desktop-question:hover {
    background: #f8fafc;
  }

  .ovfaq-desktop-question.is-active {
    background: var(--ovfaq-accent-soft);
    color: #312e81;
  }

  .ovfaq-desktop-question.is-active::before {
    background: var(--ovfaq-accent);
  }

  .ovfaq-desktop-question.is-active .ovfaq-question-number {
    background: #ffffff;
  }

  .ovfaq-desktop-arrow {
    justify-self: end;
    color: #94a3b8;
    font-size: 24px;
    font-weight: 400;
    line-height: 1;
    transition: transform 140ms ease, color 140ms ease;
  }

  .ovfaq-desktop-question.is-active .ovfaq-desktop-arrow {
    color: var(--ovfaq-accent);
    transform: translateX(2px);
  }

  .ovfaq-desktop-answer-stage {
    min-width: 0;
    min-height: 520px;
    border: 1px solid var(--ovfaq-border);
    border-radius: 18px;
    background: var(--ovfaq-bg);
    box-shadow: 0 12px 36px rgba(15, 23, 42, 0.065);
  }

  .ovfaq-desktop-answer {
    padding: 32px 34px 36px;
  }

  .ovfaq-desktop-answer[hidden] {
    display: none !important;
  }

  .ovfaq-answer-label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    color: var(--ovfaq-accent);
    font-family: inherit;
    font-size: var(--ovfaq-meta-size);
    font-weight: 750;
    text-transform: uppercase;
    letter-spacing: 0.06em;
  }

  .ovfaq-answer-label span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 24px;
    padding: 0 7px;
    border-radius: 999px;
    background: var(--ovfaq-accent-soft);
    font-size: 12px;
  }

  .ovfaq-answer-title {
    margin: 0 0 20px;
    color: var(--ovfaq-text);
    font-family: inherit;
    font-size: calc(var(--ovfaq-question-size) + 7px);
    font-weight: 700;
    line-height: 1.28;
    letter-spacing: -0.015em;
  }

  .ovfaq-desktop-answer .ovfaq-answer-copy {
    max-width: 78ch;
  }

  .ovfaq-desktop-answer .ovfaq-figure {
    max-width: 100%;
    margin-top: 26px;
  }
}

@media (min-width: 1450px) {
  .ovfaq-desktop {
    gap: 34px;
  }

  .ovfaq-desktop-answer {
    padding: 36px 40px 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ovfaq-chevron::before,
  .ovfaq-chevron::after,
  .ovfaq-desktop-question,
  .ovfaq-desktop-arrow {
    transition: none;
  }
}
