@font-face {
  font-family: "NPM Archivo Black";
  src: local("Archivo Black"), local("ArchivoBlack-Regular");
  font-display: swap;
}

.npm-interest {
  --npm-cyan: #079ab4;
  --npm-cyan-dark: #007c91;
  --npm-yellow: #ffdd57;
  --npm-ink: #101214;
  --npm-line: #899b9f;
  margin: 36px 0;
  padding: 30px;
  border-top: 4px solid var(--npm-cyan);
  background: #f5f1e8;
  color: var(--npm-ink);
  font-family: Montserrat, Arial, sans-serif;
}

.npm-interest[data-mode="preview"] {
  border: 1px dashed var(--npm-cyan);
  border-top-width: 4px;
}

.npm-interest-head {
  max-width: 720px;
}

.npm-interest-kicker {
  margin: 0 0 8px;
  color: var(--npm-cyan-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.npm-interest h2 {
  margin: 0 0 10px;
  font-family: "NPM Archivo Black", Arial, sans-serif;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.02;
  letter-spacing: 0;
}

.npm-interest-head > p:last-child,
.npm-interest-submit p {
  margin: 0;
  line-height: 1.6;
}

.npm-interest-message {
  margin: 20px 0 0;
  padding: 12px 14px;
  border-left: 4px solid var(--npm-yellow);
  background: #fff;
  font-weight: 700;
}

.npm-interest-form {
  margin-top: 24px;
}

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

.npm-interest-grid label,
.npm-interest fieldset {
  font-size: 13px;
  font-weight: 800;
}

.npm-interest-grid label:last-child {
  grid-column: 1 / -1;
}

.npm-interest-grid label > span {
  color: #506269;
  font-size: 11px;
  font-weight: 500;
}

.npm-interest input[type="text"],
.npm-interest input[type="email"],
.npm-interest input[type="tel"],
.npm-interest input[type="number"] {
  display: block;
  width: 100%;
  min-height: 48px;
  margin-top: 7px;
  padding: 10px 12px;
  border: 1px solid var(--npm-line);
  border-radius: 6px;
  background: #fff;
  color: var(--npm-ink);
  font: inherit;
  font-weight: 500;
  box-sizing: border-box;
}

.npm-interest input:focus-visible,
.npm-interest button:focus-visible {
  outline: 3px solid rgba(7, 154, 180, 0.3);
  outline-offset: 2px;
}

.npm-interest fieldset {
  margin: 22px 0 0;
  padding: 0;
  border: 0;
}

.npm-interest fieldset legend {
  margin-bottom: 9px;
}

.npm-interest-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 10px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
}

.npm-interest-check input {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: var(--npm-cyan);
  flex: 0 0 auto;
}

.npm-interest-submit {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-top: 24px;
}

.npm-interest-submit button {
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 6px;
  background: var(--npm-yellow);
  color: var(--npm-ink);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
}

.npm-interest-submit button:hover:not(:disabled) {
  background: #ffd126;
}

.npm-interest-submit button:disabled,
.npm-interest input:disabled {
  cursor: not-allowed;
  opacity: 0.66;
}

.npm-interest-submit p {
  max-width: 520px;
  color: #40545b;
  font-size: 12px;
}

.npm-interest-trap {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
}

.npm-agenda-media-credit {
  margin-top: 28px;
  padding-top: 12px;
  border-top: 1px solid rgb(7 31 34 / 16%);
  color: #52666b;
  font-size: 11px;
  line-height: 1.55;
}

.npm-agenda-media-credit small {
  font-size: inherit;
}

.npm-agenda-media-credit a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

@media (max-width: 620px) {
  .npm-interest {
    margin: 24px -2px;
    padding: 24px 18px;
  }

  .npm-interest-grid {
    grid-template-columns: 1fr;
  }

  .npm-interest-grid label:last-child {
    grid-column: auto;
  }

  .npm-interest-submit {
    align-items: stretch;
    flex-direction: column;
  }

  .npm-interest-submit button {
    width: 100%;
  }
}

/* UX: readable errors, mobile text sizing and reliable focus without changing brand colors. */
.npm-interest :is(input,button,a):focus-visible{outline:3px solid #005e70;outline-offset:3px}
.npm-interest input[aria-invalid="true"]{border:2px solid #a32626}
.npm-interest-field-error{display:block;color:#8a2020;font-size:13px;line-height:1.5;margin-top:5px;font-weight:600}
.npm-interest-feedback{margin:0 0 22px;padding:16px;background:#fff;border-left:4px solid #007c91;color:#082e38;scroll-margin-top:144px}
.npm-interest-feedback[data-error="true"]{border-left-color:#a32626}
.npm-interest-privacy{font-size:14px;line-height:1.6}
.npm-interest-privacy a{color:#005e70;text-decoration:underline;text-underline-offset:3px}
.npm-interest-check{min-height:32px;align-items:flex-start}
.npm-interest-check input{width:24px;height:24px;flex-basis:24px}
.npm-interest .npm-interest-form :is(input,button){font-size:16px}
.npm-interest :is(input,.npm-interest-feedback){scroll-margin-top:144px}
.npm-interest [hidden]{display:none!important}
@media(max-width:720px){.npm-interest{padding:22px 16px}.npm-interest-submit{display:block}.npm-interest-submit button{width:100%;white-space:normal;padding:12px}.npm-interest-submit p{margin-top:12px}}
