/* NHPQ Website Introduction v35.1 — isolated styles */
:root {
  --nhpq-intro-navy: #10243d;
  --nhpq-intro-blue: #1769aa;
  --nhpq-intro-sky: #eaf5ff;
  --nhpq-intro-gold: #d59b2b;
  --nhpq-intro-text: #172033;
  --nhpq-intro-muted: #667085;
  --nhpq-intro-border: rgba(16, 36, 61, 0.13);
  --nhpq-intro-shadow: 0 24px 70px rgba(8, 27, 48, 0.25);
}

.nhpq-intro-lock {
  overflow: hidden !important;
}

.nhpq-intro-header-btn,
.nhpq-intro-floating-btn {
  appearance: none;
  border: 1px solid rgba(23, 105, 170, 0.22);
  background: rgba(255, 255, 255, 0.94);
  color: var(--nhpq-intro-navy);
  border-radius: 999px;
  min-height: 38px;
  padding: 8px 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font: 700 13px/1.1 -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  letter-spacing: 0.01em;
  box-shadow: 0 8px 24px rgba(16, 36, 61, 0.12);
  cursor: pointer;
  white-space: nowrap;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  z-index: 1500;
}

.nhpq-intro-header-btn:hover,
.nhpq-intro-floating-btn:hover {
  transform: translateY(-1px);
  background: #fff;
  box-shadow: 0 12px 28px rgba(16, 36, 61, 0.18);
}

.nhpq-intro-header-btn:focus-visible,
.nhpq-intro-floating-btn:focus-visible,
.nhpq-intro-close:focus-visible,
.nhpq-intro-tab:focus-visible,
.nhpq-intro-primary:focus-visible,
.nhpq-intro-secondary:focus-visible,
.nhpq-intro-link:focus-visible {
  outline: 3px solid rgba(23, 105, 170, 0.3);
  outline-offset: 2px;
}

.nhpq-intro-header-btn svg,
.nhpq-intro-floating-btn svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
}

.nhpq-intro-floating-btn {
  position: fixed;
  top: 74px;
  right: 14px;
}

.nhpq-intro-overlay {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(4, 17, 31, 0.66);
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
}

.nhpq-intro-overlay.is-open {
  display: flex;
  animation: nhpqIntroFade .18s ease-out both;
}

@keyframes nhpqIntroFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

.nhpq-intro-dialog {
  width: min(820px, 100%);
  height: min(88vh, 850px);
  max-height: min(88vh, 850px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 24px;
  background: #fff;
  color: var(--nhpq-intro-text);
  box-shadow: var(--nhpq-intro-shadow);
  transform-origin: center;
  animation: nhpqIntroUp .22s ease-out both;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

@keyframes nhpqIntroUp {
  from { transform: translateY(14px) scale(.985); opacity: .7; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}

.nhpq-intro-hero {
  position: relative;
  overflow: hidden;
  padding: 25px 68px 20px 28px;
  color: #fff;
  background:
    radial-gradient(circle at 85% -20%, rgba(90, 195, 255, .75), transparent 40%),
    linear-gradient(135deg, #0c2038 0%, #124d79 62%, #1973b5 100%);
}

.nhpq-intro-hero::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -110px;
  width: 270px;
  height: 270px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 50%;
  box-shadow: 0 0 0 34px rgba(255,255,255,.045), 0 0 0 68px rgba(255,255,255,.035);
}

.nhpq-intro-brand {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.nhpq-intro-brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .25);
}

.nhpq-intro-brand-mark svg { width: 19px; height: 19px; }

.nhpq-intro-title {
  position: relative;
  z-index: 1;
  margin: 0;
  max-width: 660px;
  font-size: clamp(25px, 4vw, 38px);
  line-height: 1.08;
  letter-spacing: -.025em;
}

.nhpq-intro-lead {
  position: relative;
  z-index: 1;
  margin: 11px 0 0;
  max-width: 690px;
  color: rgba(255,255,255,.86);
  font-size: 15px;
  line-height: 1.55;
}

.nhpq-intro-close {
  position: absolute;
  z-index: 3;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, .11);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background .18s ease, transform .18s ease;
}

.nhpq-intro-close:hover { background: rgba(255,255,255,.2); transform: rotate(3deg); }
.nhpq-intro-close svg { width: 19px; height: 19px; }

.nhpq-intro-tabs {
  display: flex;
  gap: 5px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--nhpq-intro-border);
  background: #fff;
  overflow-x: auto;
  scrollbar-width: none;
}
.nhpq-intro-tabs::-webkit-scrollbar { display: none; }

.nhpq-intro-tab {
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--nhpq-intro-muted);
  padding: 10px 13px;
  font: 750 13px/1.2 inherit;
  cursor: pointer;
  white-space: nowrap;
}

.nhpq-intro-tab.is-active {
  color: var(--nhpq-intro-blue);
  background: var(--nhpq-intro-sky);
}

.nhpq-intro-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 24px 28px 18px;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  -webkit-overflow-scrolling: touch;
}

.nhpq-intro-panel { display: none; }
.nhpq-intro-panel.is-active { display: block; animation: nhpqIntroPanel .16s ease-out both; }
@keyframes nhpqIntroPanel { from { opacity: .4; transform: translateY(3px); } to { opacity: 1; transform: none; } }

.nhpq-intro-section-title {
  margin: 0 0 8px;
  color: var(--nhpq-intro-navy);
  font-size: 21px;
  line-height: 1.25;
  letter-spacing: -.015em;
}

.nhpq-intro-copy {
  margin: 0 0 16px;
  color: #475467;
  font-size: 14px;
  line-height: 1.65;
}

.nhpq-intro-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0;
}

.nhpq-intro-feature {
  min-height: 106px;
  padding: 15px;
  border: 1px solid var(--nhpq-intro-border);
  border-radius: 16px;
  background: linear-gradient(180deg, #fff, #fbfdff);
}

.nhpq-intro-feature-icon {
  width: 34px;
  height: 34px;
  margin-bottom: 10px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  color: var(--nhpq-intro-blue);
  background: var(--nhpq-intro-sky);
}
.nhpq-intro-feature-icon svg { width: 18px; height: 18px; }
.nhpq-intro-feature strong { display: block; margin-bottom: 4px; color: var(--nhpq-intro-navy); font-size: 14px; }
.nhpq-intro-feature span { color: var(--nhpq-intro-muted); font-size: 12.5px; line-height: 1.45; }

.nhpq-intro-slogan {
  margin: 18px 0;
  padding: 14px 16px;
  border-left: 4px solid var(--nhpq-intro-gold);
  border-radius: 0 13px 13px 0;
  color: var(--nhpq-intro-navy);
  background: #fff8e9;
  font-size: 15px;
  font-weight: 800;
}

.nhpq-intro-note,
.nhpq-intro-warning {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  margin: 16px 0;
  padding: 14px 15px;
  border-radius: 14px;
  font-size: 13px;
  line-height: 1.55;
}
.nhpq-intro-note { color: #17466d; background: #eef7ff; border: 1px solid #d8ecff; }
.nhpq-intro-warning { color: #6e4812; background: #fff8e9; border: 1px solid #f1dfb7; }
.nhpq-intro-note svg,
.nhpq-intro-warning svg { flex: 0 0 auto; width: 19px; height: 19px; margin-top: 1px; }

.nhpq-intro-list {
  margin: 10px 0 18px;
  padding-left: 21px;
  color: #475467;
  font-size: 14px;
  line-height: 1.65;
}
.nhpq-intro-list li + li { margin-top: 7px; }

.nhpq-intro-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 20px 16px;
  border-top: 1px solid var(--nhpq-intro-border);
  background: #fff;
  flex: 0 0 auto;
}

.nhpq-intro-body::-webkit-scrollbar { width: 10px; }
.nhpq-intro-body::-webkit-scrollbar-track { background: transparent; }
.nhpq-intro-body::-webkit-scrollbar-thumb {
  background: rgba(16, 36, 61, .22);
  border: 3px solid transparent;
  border-radius: 999px;
  background-clip: padding-box;
}

.nhpq-intro-footer-copy {
  min-width: 0;
  color: var(--nhpq-intro-muted);
  font-size: 11.5px;
  line-height: 1.4;
}

.nhpq-intro-actions { display: flex; gap: 9px; flex: 0 0 auto; }
.nhpq-intro-primary,
.nhpq-intro-secondary {
  border-radius: 12px;
  min-height: 42px;
  padding: 10px 16px;
  font: 800 13px/1.1 inherit;
  cursor: pointer;
}
.nhpq-intro-primary { border: 1px solid var(--nhpq-intro-blue); color: #fff; background: var(--nhpq-intro-blue); }
.nhpq-intro-primary:hover { background: #125d98; }
.nhpq-intro-secondary { border: 1px solid var(--nhpq-intro-border); color: var(--nhpq-intro-navy); background: #fff; }
.nhpq-intro-secondary:hover { background: #f7fafc; }

.nhpq-intro-link {
  border: 0;
  padding: 0;
  color: var(--nhpq-intro-blue);
  background: transparent;
  font: inherit;
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

.nhpq-intro-consent-note {
  margin: 10px 0 0;
  color: #667085;
  font: 500 11.5px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  text-align: center;
}

@media (max-width: 680px) {
  .nhpq-intro-overlay { padding: 0; align-items: flex-end; }
  .nhpq-intro-dialog {
    width: 100%;
    height: 94dvh;
    max-height: 94dvh;
    border-radius: 24px 24px 0 0;
    border-bottom: 0;
  }
  .nhpq-intro-hero { padding: 22px 56px 18px 20px; }
  .nhpq-intro-title { font-size: 27px; }
  .nhpq-intro-lead { font-size: 13.5px; }
  .nhpq-intro-body {
    flex: 1 1 auto;
    min-height: 0;
    padding: 20px 18px 14px;
  }
  .nhpq-intro-feature-grid { grid-template-columns: 1fr; gap: 9px; }
  .nhpq-intro-feature { min-height: auto; }
  .nhpq-intro-footer { align-items: stretch; flex-direction: column; padding: 11px 16px 16px; }
  .nhpq-intro-footer-copy { text-align: center; }
  .nhpq-intro-actions { width: 100%; }
  .nhpq-intro-primary, .nhpq-intro-secondary { flex: 1 1 0; }
  .nhpq-intro-floating-btn { top: auto; right: 12px; bottom: 86px; min-height: 42px; padding: 10px 13px; }
}

@media (prefers-reduced-motion: reduce) {
  .nhpq-intro-overlay,
  .nhpq-intro-dialog,
  .nhpq-intro-panel { animation: none !important; }
  .nhpq-intro-header-btn,
  .nhpq-intro-floating-btn,
  .nhpq-intro-close { transition: none !important; }
}

/* v35.1 layout stabilization */
.nhpq-intro-hero,
.nhpq-intro-tabs { flex: 0 0 auto; }
