.rq-page {
  background: var(--body-bg);
}

.rq-page .edge-lock-layer {
  z-index: 15;
  opacity: calc(var(--edge-opacity) * 1.2);
}

.rq-page main {
  margin-top: 62px;
  position: relative;
  z-index: 10;
}

.rq-page .hero-header,
.rq-page .site-footer {
  position: relative;
  z-index: 30;
}

.rq-page .site-footer {
  margin-top: 0;
}

.rq-header {
  z-index: 200;
}

.rq-shell {
  width: min(1320px, 92vw);
  margin: 0 auto;
}

.rq-section {
  position: relative;
  padding: clamp(48px, 5.5vw, 82px) 0;
}

.rq-section--light {
  background: transparent;
  color: #535962;
}

.rq-section--light h2 {
  color: #4e545d;
}

.rq-media {
  position: relative;
  background: linear-gradient(145deg, rgb(226 232 239 / 0.9), rgb(201 210 220 / 0.96));
  border: 1px solid rgb(118 132 148 / 0.35);
  overflow: hidden;
}

.rq-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.rq-media--cover img {
  object-fit: cover;
}

.rq-media__placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
  padding: 16px;
  font-family: "MyriadProBold", "Segoe UI", sans-serif;
  font-size: clamp(0.85rem, 1.1vw, 1.1rem);
  color: #31455f;
  line-height: 1.35;
  background:
    linear-gradient(135deg, rgb(255 255 255 / 0.36) 25%, transparent 25%) -16px 0 / 32px 32px,
    linear-gradient(225deg, rgb(255 255 255 / 0.36) 25%, transparent 25%) -16px 0 / 32px 32px,
    linear-gradient(315deg, rgb(255 255 255 / 0.36) 25%, transparent 25%) 0 0 / 32px 32px,
    linear-gradient(45deg, rgb(255 255 255 / 0.36) 25%, transparent 25%) 0 0 / 32px 32px;
}

.rq-media__placeholder code {
  display: inline-block;
  margin-top: 6px;
  color: #1f3b5b;
}

.rq-media.has-media .rq-media__placeholder {
  display: none;
}

.rq-hero {
  position: relative;
  min-height: clamp(420px, 52vh, 560px);
  display: grid;
  align-items: center;
  color: #ffffff;
  background: #0e1218;
}

.rq-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.rq-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgb(6 10 16 / 0.8) 0%, rgb(6 10 16 / 0.58) 50%, rgb(6 10 16 / 0.78) 100%);
}

.rq-hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.rq-hero__content h1 {
  margin: 0;
  font-family: "MyriadProBold", "Segoe UI", sans-serif;
  font-size: clamp(2.3rem, 4.8vw, 4.2rem);
  line-height: 1.05;
}

.rq-hero__content p {
  margin: 14px auto 0;
  width: min(980px, 96%);
  font-size: clamp(1.06rem, 1.3vw, 1.6rem);
  line-height: 1.5;
  color: rgb(240 247 255 / 0.94);
}

.rq-hero__content a {
  color: #ca0d00;
  text-decoration: none;
  font-family: "MyriadProBold", "Segoe UI", sans-serif;
}

.rq-wave-divider {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 38px;
  z-index: 4;
  background: var(--story-bg);
  clip-path: polygon(0 34%, 10% 46%, 24% 36%, 37% 48%, 50% 34%, 63% 48%, 78% 36%, 92% 46%, 100% 34%, 100% 100%, 0 100%);
}

.rq-notes {
  padding-top: clamp(34px, 3.8vw, 52px);
}

.rq-notes__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 2.3vw, 34px);
}

.rq-note-card {
  min-height: clamp(126px, 12vw, 154px);
  border: 2px solid rgb(112 118 126 / 0.28);
  background: rgb(255 255 255 / 0.32);
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 18px;
  padding: 18px 20px;
}

.rq-note-card p {
  margin: 0;
  font-size: clamp(0.98rem, 1.1vw, 1.28rem);
  line-height: 1.42;
  color: #565d67;
}

.rq-note-card__icon {
  width: clamp(76px, 6vw, 98px);
  height: clamp(76px, 6vw, 98px);
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 5px solid currentColor;
}

.rq-note-card__icon svg {
  width: 58%;
  height: 58%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.rq-note-card__icon--green {
  color: #2ea448;
}

.rq-note-card__icon--red {
  color: #ca0d00;
}

.rq-form-section {
  padding-top: clamp(40px, 4.5vw, 62px);
  padding-bottom: clamp(80px, 9vw, 124px);
}

.rq-form-shell {
  width: min(770px, 100%);
}

.rq-form-shell h2 {
  margin: 0 0 24px;
  text-align: center;
  font-family: "MyriadProBold", "Segoe UI", sans-serif;
  font-size: clamp(2rem, 3.2vw, 3.2rem);
  line-height: 1.1;
}

.rq-form label,
.rq-form legend {
  display: block;
  color: #23252a;
  font-family: "MyriadProBold", "Segoe UI", sans-serif;
  font-size: clamp(1rem, 1.05vw, 1.16rem);
  line-height: 1.35;
}

.rq-form span {
  color: #ca0d00;
}

.rq-form input,
.rq-form textarea {
  width: 100%;
  margin-top: 8px;
  padding: 12px 14px;
  border: 1px solid rgb(122 133 148 / 0.28);
  background: rgb(255 255 255 / 0.92);
  color: #222e3d;
  font-family: "MyriadProRegular", "Segoe UI", sans-serif;
  font-size: 1rem;
}

.rq-form label + label {
  margin-top: 14px;
}

.rq-form fieldset {
  margin: 20px 0 0;
  padding: 0;
  border: 0;
}

.rq-form fieldset label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  font-family: "MyriadProRegular", "Segoe UI", sans-serif;
  font-size: 1.02rem;
  color: #535962;
}

.rq-form fieldset input[type="checkbox"] {
  width: 14px;
  height: 14px;
  margin: 0;
}

.rq-form__captcha {
  margin-top: 20px;
  width: min(300px, 100%);
  height: 74px;
  border: 1px solid rgb(112 118 126 / 0.36);
  display: grid;
  place-items: center;
  background: rgb(255 255 255 / 0.92);
  color: #566377;
  font-family: "MyriadProBold", "Segoe UI", sans-serif;
}

.rq-form button {
  margin-top: 18px;
  padding: 12px 20px;
  border: 0;
  text-transform: uppercase;
  background: #5c636d;
  color: #ffffff;
  font-family: "MyriadProBold", "Segoe UI", sans-serif;
  font-size: 1.1rem;
  cursor: pointer;
}

body.theme-dark .rq-section--light {
  color: #c9d5e4;
}

body.theme-dark .rq-section--light h2 {
  color: #e5eef8;
}

body.theme-dark .rq-note-card {
  background: rgb(20 27 37 / 0.6);
  border-color: rgb(177 188 204 / 0.28);
}

body.theme-dark .rq-note-card p {
  color: #c5d2e4;
}

body.theme-dark .rq-form label,
body.theme-dark .rq-form legend {
  color: #e5eef8;
}

body.theme-dark .rq-form fieldset label {
  color: #c5d2e4;
}

body.theme-dark .rq-form input,
body.theme-dark .rq-form textarea {
  background: rgb(255 255 255 / 0.92);
  color: #222e3d;
}

@media (max-width: 980px) {
  .rq-notes__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .rq-page main {
    margin-top: 56px;
  }

  .rq-shell {
    width: min(1320px, 94vw);
  }

  .rq-hero {
    min-height: clamp(390px, 54vh, 500px);
  }

  .rq-hero__content h1 {
    font-size: clamp(1.9rem, 8vw, 2.8rem);
  }

  .rq-hero__content p {
    font-size: clamp(0.96rem, 4vw, 1.1rem);
  }

  .rq-wave-divider {
    height: 30px;
  }

  .rq-form-shell h2 {
    font-size: clamp(1.6rem, 8vw, 2.4rem);
  }
}
