.pdf-gate-note, .pdf-gate-inline {
  border: 1px dashed #b9bec5;
  border-radius: 6px;
  background: #f1f2f3;
  padding: 16px;
}
.pdf-gate-note { margin: 16px 0; }
.pdf-gate-inline { padding: 22px; border: 1px solid var(--line); border-left: 3px solid var(--red); }
.pdf-gate h4 { color: #4d555e; font: 500 19px/1.3 var(--font); letter-spacing: -.02em; margin: 0 0 8px; }
.pdf-gate-intro { color: #555e67; }
.pdf-gate p { font-size: 14px; line-height: 1.5; margin: 0 0 12px; }
.pdf-gate-note strong { display: block; color: #4d555e; font-weight: 500; font-size: 19px; line-height: 1.3; margin-bottom: 8px; }
.pdf-gate-note p { margin: 0; }
.pdf-gate-inline h4 { color: var(--ink); font-size: 22px; }
.pdf-gate-inline p { color: var(--muted); margin-bottom: 18px; }
.pdf-gate .pdf-gate-status { padding: 14px 16px; background: #f5f2f2; border-radius: 4px; color: #5e4549; font-size: 13px; margin-top: 12px; }
.pdf-gate-status:empty { display: none; }
.pdf-gate-form { margin-top: 12px; }
.pdf-gate-form:empty { display: none; }
.pdf-gate-form iframe { width: 100%; border: 0; }
/* Applies when the dedicated legacy form is configured to render as raw HTML. */
.pdf-gate .hs-form { font: 15px/1.5 var(--font); }
.pdf-gate .hs-form label { display: block; margin-bottom: 6px; color: var(--ink); }
.pdf-gate .hs-form input[type="email"], .pdf-gate .hs-form input[type="text"] { width: 100%; min-height: 48px; border: 1px solid #b8bec5; border-radius: 4px; padding: 12px; background: white; color: var(--ink); font: inherit; }
.pdf-gate .hs-form input:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }
.pdf-gate .hs-form .hs-button { width: 100%; min-height: 48px; margin-top: 14px; border: 0; border-radius: 4px; padding: 12px 20px; background: var(--red); color: white; font: 500 15px var(--font); cursor: pointer; }
.pdf-gate .hs-form .hs-button:hover { background: #941727; }
.pdf-gate .hs-form .hs-error-msgs { color: #a41627; padding-left: 0; list-style: none; font-size: 13px; }
.pdf-gate .hs-form .legal-consent-container { margin-top: 12px; font-size: 12px; color: var(--muted); }
.pdf-gate .hs-form .legal-consent-container p { font-size: 12px; line-height: 1.4; margin: 8px 0; }
.pdf-gate .hs-form .inputs-list { list-style: none; margin: 12px 0; padding: 0; }
.pdf-gate .hs-form .hs-form-booleancheckbox-display { display: flex; gap: 8px; align-items: baseline; }
@media (max-width: 650px) {
  .tech-top:has(.pdf-gate) > img { float: right; width: 64px; margin: 0 0 8px 12px; }
  .tech-top:has(.pdf-gate) > div { clear: both; }
}

.pdf-gate [hidden] { display: none !important; }
.pdf-gate-reset { border: 0; padding: 0; margin-top: 12px; background: none; color: var(--red); font: 13px var(--font); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.pdf-gate-reset:focus-visible { outline: 3px solid var(--green); outline-offset: 4px; }

[data-whitepaper-open] { cursor: pointer; }
[data-whitepaper-open]:not(.cta-button-secondary) { border: 0; }
.nav-links .nav-whitepaper { padding: 7px 13px; font-size: 13px; }
.hero-links { align-items: center; }
.whitepaper-modal {
  width: min(520px, calc(100% - 32px));
  max-width: none;
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 24px 64px -24px #0006;
  overflow: auto;
}
.whitepaper-modal::backdrop { background: #0f10128c; backdrop-filter: blur(3px); }
.whitepaper-modal .sub-modal__panel { width: 100%; padding: 36px 24px 24px; border: 0; box-shadow: none; }
.whitepaper-modal .sub-modal__close { color: var(--ink); border-color: var(--line); }
.whitepaper-modal .pdf-gate { padding: 0; border: 0; background: none; }
.whitepaper-modal .pdf-gate h4 { color: var(--ink); font-size: 28px; }
@media (max-width: 900px) {
  .nav .nav-links > a:not(.nav-subscribe) { display: none; }
}
@media (max-width: 700px) {
  .nav .nav-links > .nav-subscribe { display: none; }
}
@media print {
  .whitepaper-modal, [data-whitepaper-open] { display: none; }
}
