.faq-page {
  --faq-ink: #17283b;
  --faq-muted: #5d6d80;
  --faq-blue: #075fa8;
  --faq-border: #dce6f1;
  color: var(--faq-ink);
}

.faq-page svg {
  display: block;
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.faq-hero,
.faq-answer,
.faq-aside-card,
.faq-step-figure {
  border: 1px solid var(--faq-border);
  background: #fff;
  box-shadow: 0 16px 42px rgba(31, 57, 87, .055);
}

.faq-hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 250px;
  padding: clamp(28px, 5vw, 56px);
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(112deg, #fff 0%, #fff 65%, #edf5fc 100%);
}

.faq-hero::after {
  content: "";
  position: absolute;
  right: -85px;
  top: -135px;
  width: 330px;
  height: 330px;
  border: 1px solid rgba(7, 95, 168, .1);
  border-radius: 50%;
  pointer-events: none;
}

.faq-hero-with-image {
  grid-template-columns: minmax(0, 1fr) minmax(180px, 32%);
  gap: clamp(20px, 4vw, 54px);
}

.faq-hero-copy,
.faq-question-figure {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.faq-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  color: #486581;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .045em;
}

.faq-kicker-icon,
.faq-section-icon,
.faq-related-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: #eaf3fb;
  color: var(--faq-blue);
}

.faq-kicker-icon svg { width: 19px; height: 19px; }
.faq-kicker-divider { color: #a5b5c6; }
.faq-category { color: var(--faq-blue); }

.faq-hero h1 {
  max-width: 850px;
  margin: 0;
  color: var(--faq-ink);
  font-size: clamp(30px, 3.5vw, 46px);
  font-weight: 760;
  letter-spacing: -.035em;
  line-height: 1.32;
  overflow-wrap: anywhere;
}

.faq-summary {
  max-width: 720px;
  margin: 20px 0 0;
  color: var(--faq-muted);
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 1.75;
}

.faq-question-figure {
  margin: 0;
  padding: 10px;
  border: 1px solid #dce6f1;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(31, 57, 87, .09);
}

.faq-question-figure img {
  display: block;
  width: 100%;
  max-height: 200px;
  border-radius: 10px;
  object-fit: contain;
  background: #f6f8fb;
}

.faq-question-figure figcaption,
.faq-step-figure figcaption {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 9px 4px 1px;
  color: #667b8f;
  font-size: 12px;
}

.faq-question-figure figcaption svg,
.faq-step-figure figcaption svg { width: 15px; height: 15px; }

.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  align-items: start;
  gap: 24px;
  margin-top: 24px;
}

.faq-primary { min-width: 0; }

.faq-scenario {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  margin-bottom: 18px;
  padding: 17px 20px;
  border: 1px solid #d5e6f4;
  border-radius: 16px;
  background: #eaf4fb;
  color: #385773;
  font-size: 14px;
  line-height: 1.7;
}

.faq-scenario > svg { margin-top: 2px; color: var(--faq-blue); }
.faq-scenario strong { margin-right: 13px; color: #254764; }

.faq-answer {
  padding: clamp(24px, 4vw, 40px);
  border-radius: 22px;
}

.faq-section-title {
  display: flex;
  align-items: center;
  gap: 15px;
  padding-bottom: 23px;
  border-bottom: 1px solid #e7edf4;
}

.faq-section-icon { width: 45px; height: 45px; border-radius: 14px; }
.faq-section-icon svg { width: 23px; height: 23px; }
.faq-eyebrow { color: #6b8299; font-size: 11px; font-weight: 700; letter-spacing: .12em; }

.faq-section-title h2 {
  margin: 3px 0 0;
  color: var(--faq-ink);
  font-size: 23px;
  line-height: 1.35;
}

.faq-answer-content {
  padding-top: 21px;
  color: #2e4054;
  font-size: 16px;
  line-height: 1.9;
  overflow-wrap: anywhere;
}

.faq-answer-content > p:first-child { margin-top: 0; }

.faq-answer-content p { margin: 0 0 18px; }
.faq-answer-content strong { color: #153c5f; font-weight: 750; }
.faq-answer-content code { padding: 2px 6px; border-radius: 5px; background: #eef3f8; font-size: .9em; }

.faq-answer-content h2 {
  margin: 31px 0 14px;
  padding-left: 13px;
  border-left: 3px solid var(--faq-blue);
  color: var(--faq-ink);
  font-size: 19px;
  line-height: 1.5;
}

.faq-note {
  margin: 17px 0;
  padding: 17px 20px;
  border: 1px solid #d9e9f5;
  border-left: 3px solid #2a7bab;
  border-radius: 12px;
  background: #f5f9fd;
}

.faq-note-solution { border-color: #d5e9de; border-left-color: #418866; background: #f4faf6; }
.faq-note-caution { border-color: #f1dfc9; border-left-color: #c1813b; background: #fffaf3; }
.faq-note h3 { margin: 0 0 6px; color: #183c5d; font-size: 15px; }
.faq-note-solution h3 { color: #2c6848; }
.faq-note-caution h3 { color: #915c25; }
.faq-note p { margin: 0; font-size: 15px; }

.faq-answer-content ul,
.faq-answer-content ol { margin: 0 0 20px; padding-left: 24px; }
.faq-answer-content li { padding-left: 3px; margin: 9px 0; }
.faq-answer-content li::marker { color: var(--faq-blue); font-weight: 700; }
.faq-answer-content li > ul,
.faq-answer-content li > ol { margin: 7px 0 10px; }

.faq-step-figure {
  margin: 18px 0 0;
  padding: 16px;
  border-radius: 20px;
}

.faq-step-figure img {
  display: block;
  width: 100%;
  max-height: 560px;
  border-radius: 12px;
  object-fit: contain;
  background: #f4f7fa;
}

.faq-step-figure figcaption { margin: 12px 6px 2px; font-size: 13px; }

.faq-contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-top: 20px;
  padding: 24px 28px;
  border-radius: 18px;
  background: #eaf3fb;
}

.faq-contact strong { color: #193c5b; font-size: 17px; }
.faq-contact p { margin: 5px 0 0; color: #597087; font-size: 14px; }

.faq-contact a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  flex: 0 0 auto;
  padding: 11px 16px;
  border-radius: 11px;
  background: #145f98;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.faq-contact a:hover { color: #fff; background: #0d4f81; text-decoration: none; }
.faq-contact a svg { width: 16px; height: 16px; }

.faq-aside { position: sticky; top: 20px; }
.faq-aside-card { padding: 24px 22px; border-radius: 20px; }
.faq-aside-kicker { color: var(--faq-blue); font-size: 12px; font-weight: 700; letter-spacing: .08em; }
.faq-aside-card h2 { margin: 7px 0 10px; color: var(--faq-ink); font-size: 21px; }
.faq-aside-card > p { margin: 0 0 19px; color: var(--faq-muted); font-size: 14px; line-height: 1.75; }

.faq-aside-link,
.faq-related a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: var(--faq-blue);
  font-size: 14px;
  font-weight: 700;
}

.faq-aside-link svg,
.faq-related a svg { width: 16px; height: 16px; }

.faq-related {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid #e7edf4;
}

.faq-related-icon { width: 32px; height: 32px; flex: 0 0 32px; border-radius: 9px; }
.faq-related-icon svg { width: 18px; height: 18px; }
.faq-related > div { min-width: 0; }
.faq-related-label { display: block; margin-bottom: 5px; color: #74869a; font-size: 12px; }
.faq-related a { align-items: flex-start; line-height: 1.5; }
.faq-related a svg { margin-top: 2px; }

.faq-back {
  display: inline-block;
  margin: 30px 0 0 5px;
  color: var(--faq-muted);
  font-size: 14px;
}

@media (max-width: 850px) {
  .faq-layout { grid-template-columns: 1fr; }
  .faq-aside { position: static; }
  .faq-aside-card { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 5px 16px; }
  .faq-aside-card > p { margin-bottom: 0; }
  .faq-aside-link { grid-column: 2; grid-row: 1 / span 3; }
  .faq-related { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  .faq-hero { min-height: auto; padding: 27px 22px; border-radius: 18px; }
  .faq-hero-with-image { grid-template-columns: 1fr; gap: 23px; }
  .faq-hero h1 { font-size: clamp(27px, 8vw, 35px); }
  .faq-kicker { margin-bottom: 18px; }
  .faq-summary { margin-top: 15px; }
  .faq-question-figure img { max-height: 220px; }
  .faq-layout { gap: 17px; margin-top: 17px; }
  .faq-answer { padding: 23px 21px; border-radius: 18px; }
  .faq-answer-content { font-size: 15px; }
  .faq-contact { align-items: stretch; flex-direction: column; padding: 21px; }
  .faq-contact a { align-self: flex-start; }
  .faq-aside-card { display: block; }
  .faq-aside-card > p { margin-bottom: 18px; }
}
