/* Shared accent: the green endpoint of the site's approved button gradient. */
:root { --miruar-brand: #37d696; }
.brand-filter-definitions { position: absolute; pointer-events: none; }

.footer-content__text--big,
.footer-content__text--big strong,
.questions-block__count { color: var(--miruar-brand); }

/* Recolour only interface glyphs; the matrix preserves their original alpha. */
.types-block-icon img,
.homepage-benefits .types-block-icon img,
.attorney-block-icon img,
.attorney-btn__icon,
.services-bullet-icon,
.tape-slide__more img,
.modal-urgent-icon,
.questions-block-top::after,
img[src*="/icons/"],
.services-btns svg,
.form-file-icon svg,
.btn-arrow-hover svg,
.services-btn-more svg,
.header__burger svg,
.modal-window__close svg {
  filter: url(#miruar-brand-icon);
}

.footer-bottom { justify-content: space-between; align-items: flex-start; gap: 28px; }
.footer-bottom > a { text-align: right; }
.footer-bottom > .footer-bottom__link { width: auto; max-width: 50%; }

/* Each restored instrument occupies its own row beneath the card copy. */
.homepage-instruments__visuals .attorney-block {
  display: flex;
  flex-direction: column;
  height: auto;
  min-height: 430px;
  padding: clamp(24px, 2vw, 38px);
  isolation: isolate;
  background-color: #0b1413;
}
.homepage-instruments__visuals .attorney-block__name { font-size: clamp(22px, 1.67vw, 32px); }
.homepage-instruments__visuals .attorney-block__text { font-size: clamp(14px, 0.98vw, 18px); }
.homepage-instrument-picture {
  display: flex;
  flex: 1 0 230px;
  align-items: center;
  justify-content: center;
  margin-top: 18px;
  min-width: 0;
  mix-blend-mode: lighten;
}
.homepage-instrument-image {
  display: block;
  position: static;
  width: 100%;
  height: 270px;
  object-fit: contain;
  object-position: center;
}
.homepage-instruments__visuals .attorney-block:nth-child(n) { margin-top: 0; }

@media (min-width: 901px) {
  .homepage-instruments__visuals .attorney-block:nth-child(1) { grid-area: 1 / 1; }
  .homepage-instruments__visuals .attorney-block:nth-child(2) {
    grid-area: 1 / 2 / 3 / 3;
    align-self: center;
  }
  .homepage-instruments__visuals .attorney-block:nth-child(3) { grid-area: 2 / 1; }
}

.homepage-faq-item { cursor: auto; }
.homepage-faq-item > summary { list-style: none; cursor: pointer; min-height: 32px; }
.homepage-faq-item > summary::-webkit-details-marker { display: none; }
.homepage-faq-item .questions-block-hidden { display: block; }
.homepage-faq-item[open] .questions-block-top::after { transform: scaleY(-1); }
.homepage-faq-item .questions-block-content { font-size: clamp(15px, 1.05vw, 19px); }
.homepage-faq-item > summary:focus-visible { outline: 2px solid var(--miruar-brand); outline-offset: 8px; border-radius: 4px; }
.homepage-capture__text { margin-top: 22px; max-width: 620px; color: #edf2f6; font-size: clamp(15px, 1.1vw, 20px); line-height: 1.5; }

.legal-page__hero .container { max-width: 1240px; margin-inline: auto; }
.legal-page__hero .section-title { font-size: clamp(28px, 4vw, 58px); overflow-wrap: anywhere; }
.legal-page__content h3 { margin: 28px 0 12px; font-size: clamp(20px, 1.6vw, 27px); line-height: 1.3; }
.legal-document { margin-top: 64px; padding-top: 24px; border-top: 2px solid #37d696; }
.legal-page__content [id] { scroll-margin-top: 130px; }
.legal-page__nav { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-bottom: 32px; }
.legal-page__nav a { font-size: 15px; line-height: 1.5; padding-block: 6px; }

@media (max-width: 900px) {
  .homepage-instruments__visuals .attorney-block:nth-child(n) { margin-top: 0; }
}
@media (max-width: 680px) {
  .homepage-instruments__visuals .attorney-block,
  .homepage-instruments__visuals .attorney-block:nth-child(3) { height: auto; min-height: 450px; padding: 28px; }
  .homepage-instruments__visuals .attorney-block__name { font-size: 28px; }
  .homepage-instrument-image { height: 270px; }
  .footer-bottom { flex-direction: column; gap: 22px; }
  .footer-bottom > .footer-bottom__link { max-width: 100%; text-align: left; }
  .homepage-capture__text { margin-top: 18px; }
  .homepage-faq-item .questions-block__count { flex-shrink: 0; min-width: 32px; }
  .homepage-faq-item .questions-block__title { width: calc(100% - 60px); }
  .homepage-faq-item .questions-block-top::after { width: 16px; height: 16px; top: calc(50% - 8px); }
}
