/* Lynx Research Use page and acknowledgement modal */
body.research-use-page {
  background-color: #eef0e9;
  background-image:
    linear-gradient(118deg, rgba(247, 243, 235, 0.96) 0%, rgba(231, 237, 230, 0.95) 58%, rgba(242, 238, 230, 0.96) 100%),
    repeating-linear-gradient(19deg, rgba(18, 63, 58, 0.028) 0 1px, transparent 1px 8px);
}

.research-use-page .crumb {
  border-color: rgba(23, 68, 62, 0.16);
  background: rgba(255, 253, 248, 0.38);
}

.research-use-hero {
  padding: clamp(54px, 6vw, 76px) 0 clamp(42px, 5vw, 60px);
  border-bottom: 1px solid rgba(23, 68, 62, 0.16);
}

.research-use-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.76fr) minmax(280px, 0.54fr);
  gap: clamp(36px, 7vw, 96px);
  align-items: end;
}

.research-use-hero h1 {
  max-width: 620px;
  margin: 0;
  color: var(--lynx-deep);
  font-family: var(--font-display, "Inter Tight", sans-serif);
  font-size: clamp(40px, 5vw, 52px);
  font-weight: 700;
  letter-spacing: -0.058em;
  line-height: 0.96;
}

.research-use-hero p {
  max-width: 430px;
  margin: 0;
  color: #53635e;
  font-family: var(--font-body, Inter, sans-serif);
  font-size: 16px;
  line-height: 1.65;
}

.research-use-content {
  display: grid;
  gap: 0;
  padding-block: clamp(48px, 6vw, 76px);
}

.research-use-restriction {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: clamp(20px, 3vw, 34px);
  align-items: center;
  padding: clamp(28px, 4vw, 46px);
  border: 1px solid rgba(228, 239, 231, 0.28);
  border-radius: 16px;
  background: linear-gradient(132deg, #0a312d 0%, #123f3a 66%, #194a43 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.13), 0 18px 44px rgba(9, 42, 38, 0.11);
}

.research-use-restriction__mark {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 1px solid rgba(242, 239, 229, 0.38);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.research-use-restriction__mark svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: #f4f1e8;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.research-use-restriction h2 {
  margin: 0 0 8px;
  color: #fffdf7;
  font-family: var(--font-display, "Inter Tight", sans-serif);
  font-size: clamp(30px, 3.5vw, 44px);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1;
}

.research-use-restriction strong {
  display: block;
  margin-bottom: 12px;
  color: #d7e5dc;
  font: 650 14px/1.35 var(--font-display, "Inter Tight", sans-serif);
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.research-use-restriction p {
  max-width: 780px;
  margin: 0;
  color: #d3dfd8;
  font: 400 15px/1.65 var(--font-body, Inter, sans-serif);
}

.research-use-supporting {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin-top: 32px;
  border-block: 1px solid rgba(27, 72, 65, 0.2);
}

.research-use-panel {
  padding: clamp(28px, 3.5vw, 40px) clamp(24px, 4vw, 48px) clamp(32px, 4vw, 44px) 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.research-use-panel--sage {
  padding-inline: clamp(24px, 4vw, 48px) 0;
  border-left: 1px solid rgba(27, 72, 65, 0.2);
  background: transparent;
}

.research-use-panel--important {
  display: grid;
  grid-template-columns: minmax(180px, 0.48fr) minmax(0, 1.32fr);
  gap: clamp(28px, 5vw, 72px);
  margin-top: 0;
  padding: clamp(32px, 4vw, 44px) 0;
  border-bottom: 1px solid rgba(27, 72, 65, 0.2);
  background: transparent;
}

.research-use-panel h2 {
  margin: 0 0 14px;
  color: var(--lynx-deep);
  font-family: var(--font-display, "Inter Tight", sans-serif);
  font-size: clamp(24px, 2.5vw, 32px);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.research-use-panel--important h2 {
  margin: 0;
}

.research-use-panel__copy {
  display: grid;
  gap: 16px;
}

.research-use-panel p {
  max-width: 720px;
  margin: 0;
  color: #57635f;
  font: 400 15px/1.68 var(--font-body, Inter, sans-serif);
}

html.has-research-use-modal,
html.has-research-use-modal body {
  overflow: hidden;
}

.research-use-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 20px;
  overflow: hidden;
  background:
    linear-gradient(128deg, rgba(3, 25, 22, 0.91), rgba(11, 40, 36, 0.88)),
    repeating-linear-gradient(22deg, rgba(255, 255, 255, 0.018) 0 1px, transparent 1px 8px);
}

.research-use-modal[hidden] {
  display: none;
}

.research-use-modal__panel {
  width: min(100%, 540px);
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: clamp(28px, 4vw, 42px);
  border: 1px solid rgba(30, 76, 68, 0.28);
  border-radius: 18px;
  background: linear-gradient(145deg, #fbf8f0 0%, #f2f3ec 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.88), 0 26px 76px rgba(0, 18, 16, 0.28);
  scrollbar-color: rgba(18, 63, 58, 0.45) transparent;
}

.research-use-modal__brand {
  display: flex;
  align-items: center;
  width: 104px;
  height: 62px;
  margin: -10px 0 16px;
  overflow: hidden;
}

.research-use-modal__brand img {
  width: 104px;
  height: 69px;
  object-fit: contain;
}

.research-use-modal h2 {
  margin: 0 0 18px;
  color: var(--lynx-deep);
  font-family: var(--font-display, "Inter Tight", sans-serif);
  font-size: clamp(36px, 5vw, 46px);
  font-weight: 700;
  letter-spacing: -0.052em;
  line-height: 0.98;
}

.research-use-modal__restriction {
  margin: 0 0 18px;
  padding: 16px 18px;
  border: 1px solid rgba(21, 68, 61, 0.18);
  border-radius: 12px;
  background: rgba(224, 235, 226, 0.74);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.research-use-modal__restriction strong,
.research-use-modal__restriction span {
  display: block;
}

.research-use-modal__restriction strong {
  color: var(--lynx-deep);
  font: 700 16px/1.35 var(--font-display, "Inter Tight", sans-serif);
}

.research-use-modal__restriction span {
  margin-top: 3px;
  color: #40544f;
  font: 500 14px/1.45 var(--font-body, Inter, sans-serif);
}

.research-use-modal__copy {
  margin: 0 0 26px;
  color: #52615c;
  font: 400 14px/1.65 var(--font-body, Inter, sans-serif);
}

.research-use-modal__points {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0 0 26px;
  list-style: none;
}

.research-use-modal__points li {
  position: relative;
  min-height: 24px;
  padding-left: 24px;
  color: #40544f;
  font: 500 14px/1.55 var(--font-body, Inter, sans-serif);
}

.research-use-modal__points li::before {
  position: absolute;
  top: 0.52em;
  left: 3px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lynx);
  content: "";
}

.research-use-modal__actions {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}

.research-use-modal__actions .button {
  min-height: 46px;
}

.research-use-modal__secondary {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 0 4px;
  color: var(--lynx-deep);
  font: 650 13px/1.3 var(--font-display, "Inter Tight", sans-serif);
  text-decoration-color: rgba(18, 63, 58, 0.38);
}

.research-use-modal__secondary:hover {
  text-decoration-color: var(--lynx-deep);
}

.research-use-modal__panel:focus-visible,
.research-use-modal__actions :focus-visible {
  outline: 2px solid #4c7d72;
  outline-offset: 3px;
}

@media (max-width: 768px) {
  .research-use-hero__inner,
  .research-use-panel--important {
    grid-template-columns: 1fr;
  }

  .research-use-hero__inner {
    gap: 22px;
  }

  .research-use-hero p {
    max-width: 560px;
  }

  .research-use-supporting {
    grid-template-columns: 1fr;
  }

  .research-use-panel,
  .research-use-panel--sage {
    padding-inline: 0;
  }

  .research-use-panel--sage {
    border-top: 1px solid rgba(27, 72, 65, 0.2);
    border-left: 0;
  }

  .research-use-panel--important {
    gap: 18px;
  }
}

@media (max-width: 480px) {
  .research-use-hero {
    padding: 50px 0 42px;
  }

  .research-use-hero h1 {
    font-size: clamp(44px, 14vw, 56px);
  }

  .research-use-content {
    padding-block: 40px 56px;
  }

  .research-use-restriction {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 16px;
    padding: 24px 20px;
  }

  .research-use-restriction__mark {
    width: 44px;
    height: 44px;
  }

  .research-use-restriction__mark svg {
    width: 22px;
    height: 22px;
  }

  .research-use-panel {
    padding: 24px 0 28px;
  }

  .research-use-panel--important {
    padding-block: 28px;
  }

  .research-use-modal {
    padding: 16px;
  }

  .research-use-modal__panel {
    max-height: calc(100dvh - 32px);
    padding: 28px 24px;
  }

  .research-use-modal__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .research-use-modal__actions .button,
  .research-use-modal__secondary {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 390px) {
  .research-use-modal {
    padding: 12px;
  }

  .research-use-modal__panel {
    max-height: calc(100dvh - 24px);
    padding: 24px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .research-use-modal *,
  .research-use-modal *::before,
  .research-use-modal *::after {
    scroll-behavior: auto;
    transition: none;
  }
}
