.nsr-waiver {
  --nsr-navy: #1c2947;
  --nsr-text: #465064;
  --nsr-blue: #096f93;
  --nsr-orange: #e45721;
  --nsr-border: #d5dae4;
  --nsr-input: #f8f9fc;
  width: min(100%, 860px);
  margin: 24px auto;
  padding: clamp(25px, 6vw, 58px);
  background: #fff;
  box-shadow: 0 16px 45px rgba(27, 38, 63, .08);
  color: var(--nsr-text);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  line-height: 1.46;
}

.nsr-waiver * {
  box-sizing: border-box;
}

.nsr-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}

.nsr-brand h1 {
  margin: 0 0 8px;
  color: var(--nsr-navy);
  font-size: clamp(25px, 4vw, 32px);
  font-weight: 700;
  letter-spacing: -.03em;
}

.nsr-document-title {
  margin: 0;
  color: var(--nsr-navy);
  font-size: 14px;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.nsr-brand-logo {
  width: clamp(82px, 13vw, 112px);
  height: auto;
}

.nsr-notice {
  margin: 0 0 30px;
  padding: 15px 18px;
  border-left: 4px solid var(--nsr-orange);
  background: #faf6f2;
  color: var(--nsr-navy);
  font-size: 14px;
  font-weight: 700;
}

.nsr-intro {
  margin: 0 0 28px;
}

.nsr-terms {
  display: grid;
  gap: 22px;
  margin-bottom: 44px;
}

.nsr-terms h2 {
  margin: 0 0 5px;
  color: var(--nsr-navy);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  text-transform: uppercase;
}

.nsr-terms p {
  margin: 0;
}

.nsr-terms ul {
  margin: 6px 0;
  padding-left: 20px;
}

.nsr-form-title {
  margin: 0 0 25px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--nsr-navy);
  color: var(--nsr-navy);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
}

.nsr-message {
  margin: 0 0 22px;
  padding: 14px 16px;
  border-radius: 5px;
  font-weight: 700;
}

.nsr-success {
  background: #ebf7ef;
  color: #14603a;
}

.nsr-error {
  background: #fdf0ef;
  color: #a62920;
}

.nsr-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 21px 18px;
}

.nsr-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nsr-wide,
.nsr-field-grid fieldset {
  grid-column: 1 / -1;
}

.nsr-field label,
.nsr-field-grid legend {
  color: var(--nsr-navy);
  font-size: 14px;
  font-weight: 700;
}

.nsr-field label span,
.nsr-field-grid legend span {
  color: var(--nsr-orange);
}

.nsr-field input[type="text"],
.nsr-field input[type="email"],
.nsr-field input[type="tel"],
.nsr-field input[type="date"],
.nsr-field input[type="file"] {
  width: 100%;
  min-height: 50px;
  padding: 13px 14px;
  border: 1px solid var(--nsr-border);
  border-radius: 5px;
  background: var(--nsr-input);
  color: var(--nsr-navy);
  font: inherit;
}

.nsr-field input[type="file"] {
  padding: 10px 12px;
}

.nsr-field input[type="file"]::file-selector-button {
  margin-right: 12px;
  padding: 8px 12px;
  border: 1px solid var(--nsr-border);
  border-radius: 4px;
  background: #fff;
  color: var(--nsr-navy);
  font: inherit;
  font-weight: 700;
}

.nsr-field input:focus {
  outline: none;
  border-color: var(--nsr-blue);
  box-shadow: 0 0 0 3px rgba(9, 111, 147, .14);
}

.nsr-hint {
  margin: -2px 0 0;
  color: #667083;
  font-size: 13px;
}

.nsr-field-grid fieldset {
  margin: 10px 0 0;
  padding: 0;
  border: 0;
}

.nsr-field-grid legend {
  margin-bottom: 13px;
}

.nsr-confirmation {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 17px;
  border: 1px solid var(--nsr-border);
  border-radius: 5px;
  background: #fbfcfe;
}

.nsr-confirmation input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--nsr-blue);
}

.nsr-confirmation label {
  color: var(--nsr-navy);
  font-weight: 400;
}

.nsr-form button {
  min-width: 185px;
  margin-top: 31px;
  padding: 15px 24px;
  border: 0;
  border-radius: 5px;
  background: var(--nsr-navy);
  color: #fff;
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
}

.nsr-form button:hover {
  background: var(--nsr-blue);
}

.nsr-form button:disabled {
  cursor: wait;
  opacity: .72;
}

.nsr-privacy-note {
  margin: 40px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--nsr-border);
  color: #667083;
  font-size: 13px;
}

@media (max-width: 620px) {
  .nsr-waiver {
    margin: 0;
    padding: 28px 20px 34px;
    box-shadow: none;
  }

  .nsr-brand {
    align-items: flex-start;
    margin-bottom: 25px;
  }

  .nsr-field-grid {
    grid-template-columns: 1fr;
  }

  .nsr-form button {
    width: 100%;
  }
}
