html.modal-open,
body.modal-open {
  overflow: hidden;
}

:root {
    --modal-backdrop: rgba(0,0,0,.5);
    --modal-bg: #ffffff;
    --modal-fg: #1a1a1a;
    --modal-max-w: 920px;
    --modal-radius: 16px;
    --focus: 0 0 0 3px rgba(0, 120, 255, .35);
    --heading-font: "Bebas Neue", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    --text-font: "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  }
  
.modal {
    color: #fff;
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: grid;
    place-items: center;
  }
  
  .modal__overlay {
    position: absolute;
    inset: 0;
    background: var(--modal-backdrop);
  }
  
  .modal__dialog {
    position: relative;
    z-index: 1;
    width: min(96vw, var(--modal-max-w));
    max-height: 86vh;
    background: var(--modal-bg);
    color: var(--modal-fg);
    border-radius: var(--modal-radius);
    -webkit-box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
    display: grid;
    grid-template-rows: auto 1fr;
    overflow: hidden;
  }
  
  .modal__header {
    padding: 20px 24px 8px 24px;
    border-bottom: 1px solid #eee;
    position: relative;
  }
  
  .modal__title {
    margin: 0;
    font-family: var(--heading-font);
    letter-spacing: 0.5px;
    font-size: clamp(28px, 3.2vw, 44px);
    line-height: 1;
    text-transform: uppercase;
    color: #414141;
  }
  
  .modal__meta {
    margin: 6px 24px 0 24px;
    font: 500 12px/1.6 var(--text-font);
    color: #666;
  }
  
  .modal__close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    cursor: pointer;
    border-radius: 999px;
    display: grid;
    place-items: center;
    font-size: 22px;
    color: #444;
  }
  
  .modal__close:hover {
    background: #f2f2f2;
  }
  
  .modal__close:focus-visible {
    outline: none;
    -webkit-box-shadow: var(--focus);
    box-shadow: var(--focus);
  }
  
  .modal__body {
    padding: 20px 24px 24px 24px;
    overflow: auto;
    font: 400 16px/1.7 var(--text-font);
  }
  
  .modal__body h3 {
    font-family: var(--heading-font);
    font-size: 28px;
    line-height: 120%;
    margin: 20px 0 8px 0;
    letter-spacing: 0.3px;
    color: #414141;
  }
  
  .modal__body p {
    margin: 10px 0;
    color: #414141;
  }
  
  .modal__body ul,
  .modal__body ol {
    color: #414141;
    margin: 8px 0 16px 22px;
  }
  
  .modal__body li {
    margin: 6px 0;
    color: #414141;
  }
  
  .modal__body a {
    color: #68CAB7;
    text-decoration: underline;
  }
  
  .modal__body strong {
    font-weight: 600;
  }
  .modal[aria-hidden=true] {
    display: none;
  }


  
@media (max-width: 560px) {
    .modal__header {
      padding: 16px 16px 6px 16px;
    }
  
    .modal__meta {
      margin: 4px 16px 0 16px;
    }
  
    .modal__body {
      padding: 16px;
      font-size: 15px;
    }
  
    .modal__close {
      top: 8px;
      right: 8px;
    }
  