/* Intake gate modal and inline card (plans/SITE_LOCKDOWN_PLAN.md §6). */
:root {
  --nf-ig-navy: #1b2a55;
  --nf-ig-orange: #ec8719;
  --nf-ig-orange-ink: #a85a08;
  --nf-ig-ink: #1b2a55;
  --nf-ig-muted: #4a5568;
  --nf-ig-border: #d9dee7;
  --nf-ig-paper: #f6f7fa;
}

.nf-intake-shell { max-width: 820px; margin: 0 auto; padding: 24px 16px 40px; }
.nf-intake-shell h1 { color: var(--nf-ig-navy); }
.nf-intake-noscript { padding: 16px; border: 1px solid var(--nf-ig-border); border-left: 4px solid var(--nf-ig-orange); border-radius: 10px; background: #fff; }

html.nf-ig-open, html.nf-ig-open body { overflow: hidden; }

.nf-ig-overlay {
  position: fixed; inset: 0; z-index: 10000;
  display: flex; align-items: flex-start; justify-content: center;
  padding: 24px 16px 200px; overflow-y: auto;
  background: rgba(15, 23, 42, 0.62);
}
.nf-ig-overlay[hidden] { display: none; }

.nf-ig-dialog {
  width: 100%; max-width: 640px; margin: auto 0;
  background: #fff; color: var(--nf-ig-ink);
  border-radius: 14px; overflow: hidden;
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.35);
  font-size: 16px; line-height: 1.55;
}
.nf-ig-dialog:focus { outline: none; }

.nf-ig-band {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; background: var(--nf-ig-navy); color: #fff;
}
.nf-ig-logo { width: 44px; height: 44px; border-radius: 8px; }
.nf-ig-langwrap { margin-left: auto; font-size: 14px; display: flex; align-items: center; gap: 6px; white-space: nowrap; overflow-wrap: normal; }
.nf-ig-langwrap select { font: inherit; padding: 4px 6px; border-radius: 6px; border: 0; max-width: 46vw; color: var(--nf-ig-navy); background: #fff; }
.nf-ig-x {
  background: transparent; border: 0; color: #fff; font-size: 28px; line-height: 1;
  cursor: pointer; padding: 0 4px; margin-left: 4px;
}

.nf-ig-body { padding: 20px 22px 24px; }
.nf-ig-view h2 { margin: 0 0 10px; font-size: 24px; line-height: 1.25; color: var(--nf-ig-navy); }
.nf-ig-view h3 { margin: 18px 0 8px; font-size: 17px; color: var(--nf-ig-navy); }
.nf-ig-view p { margin: 0 0 12px; }

.nf-ig-mission, .nf-ig-why {
  border: 1px solid var(--nf-ig-border); border-left: 4px solid var(--nf-ig-orange);
  border-radius: 10px; padding: 12px 14px; margin: 12px 0; background: var(--nf-ig-paper);
}
.nf-ig-why { border-left-color: var(--nf-ig-navy); }
.nf-ig-mission p, .nf-ig-why p { margin: 6px 0 0; font-size: 15px; }
.nf-ig-mission-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.nf-ig-more { margin-top: 8px; }
.nf-ig-more h3 { font-size: 15px; margin: 12px 0 4px; }

.nf-ig-link {
  background: none; border: 0; padding: 0; font: inherit; font-size: 15px;
  color: var(--nf-ig-navy); text-decoration: underline; cursor: pointer; white-space: nowrap;
}
.nf-ig-link:hover, .nf-ig-link:focus-visible { color: var(--nf-ig-orange-ink); }

.nf-ig-form { margin-top: 8px; }
.nf-ig-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.nf-ig-field { display: flex; flex-direction: column; gap: 4px; margin-bottom: 12px; }
.nf-ig-field[hidden] { display: none; }
.nf-ig-field label, .nf-ig-roles legend { font-size: 14px; font-weight: 700; color: var(--nf-ig-navy); }
.nf-ig-field input, .nf-ig-field select, .nf-ig-field textarea {
  font: inherit; padding: 10px 12px; border: 1px solid #aab3c2; border-radius: 8px;
  background: #fff; color: var(--nf-ig-ink); width: 100%; box-sizing: border-box;
}
.nf-ig-field input:focus, .nf-ig-field select:focus, .nf-ig-field textarea:focus,
.nf-ig-check input:focus-visible, .nf-ig-radio input:focus-visible {
  outline: 3px solid var(--nf-ig-orange); outline-offset: 1px;
}

.nf-ig-roles { border: 0; padding: 0; margin: 0 0 12px; }
.nf-ig-radio { display: flex; align-items: flex-start; gap: 8px; margin: 4px 0; font-size: 15px; }
.nf-ig-radio input { margin-top: 4px; width: 18px; height: 18px; flex: none; }

.nf-ig-check { margin: 10px 0; }
.nf-ig-check-row { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; }
.nf-ig-check-row input { margin-top: 3px; width: 20px; height: 20px; flex: none; }
.nf-ig-check-row label, .nf-ig-radio label {
  flex: 1; font-size: 15px; font-weight: 400; line-height: 1.45; color: var(--nf-ig-ink);
  text-transform: none; letter-spacing: 0; margin: 0;
}
.nf-ig-dialog *, .nf-ig-dialog *::before, .nf-ig-dialog *::after { box-sizing: border-box; }
.nf-ig-dialog p, .nf-ig-dialog label { overflow-wrap: anywhere; }
.nf-ig-agreement {
  margin: 8px 0 0 30px; max-height: 260px; overflow-y: auto;
  border: 1px solid var(--nf-ig-border); border-radius: 8px; padding: 10px 14px;
  background: var(--nf-ig-paper); font-size: 14px;
}
.nf-ig-agreement h1 { font-size: 18px; } .nf-ig-agreement h2 { font-size: 16px; } .nf-ig-agreement h3 { font-size: 15px; }

.nf-ig-btn {
  display: inline-block; margin-top: 8px; padding: 12px 22px; border: 0; border-radius: 10px;
  background: var(--nf-ig-orange); color: #1b2a55; font: inherit; font-weight: 800;
  text-decoration: none; cursor: pointer; text-align: center;
}
.nf-ig-form > .nf-ig-btn { width: 100%; }
.nf-ig-btn:hover, .nf-ig-btn:focus-visible { background: var(--nf-ig-navy); color: #fff; }
.nf-ig-btn[disabled] { opacity: 0.55; cursor: not-allowed; }

.nf-ig-msg { margin-top: 10px; color: #b42318; font-size: 15px; }
.nf-ig-msg:empty { display: none; }
.nf-ig-ok { padding: 12px 14px; border-radius: 8px; background: #ecfdf3; color: #05603a; font-weight: 600; }
.nf-ig-muted { color: var(--nf-ig-muted); font-size: 15px; }
.nf-ig-tel { font-weight: 800; color: var(--nf-ig-navy); white-space: nowrap; }
.nf-ig-already { margin-top: 14px; }
.nf-ig-foot { margin-top: 18px; padding-top: 12px; border-top: 1px solid var(--nf-ig-border); font-size: 15px; }
.nf-ig-foot p { margin: 0 0 6px; }
.nf-ig-foot a { color: var(--nf-ig-navy); }
.nf-ig-emergency { font-weight: 700; }

.nf-ig-call h2 { font-size: 22px; }
.nf-ig-granted { text-align: center; padding: 8px 0; }

.nf-ig-card {
  margin: 20px 0; padding: 18px 20px; border-radius: 12px;
  border: 1px solid var(--nf-ig-border); border-left: 4px solid var(--nf-ig-orange);
  background: #fff; box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
}
.nf-ig-card strong { display: block; color: var(--nf-ig-navy); font-size: 18px; margin-bottom: 6px; }
.nf-ig-card p { margin: 0 0 6px; }

@media (max-width: 560px) {
  .nf-ig-overlay { padding: 0 0 200px; }
  .nf-ig-dialog { border-radius: 0; min-height: 100%; }
  .nf-ig-body { padding: 16px; }
  .nf-ig-grid { grid-template-columns: 1fr; }
  .nf-ig-view h2 { font-size: 21px; }
  .nf-ig-agreement { margin-left: 0; }
}

[dir="rtl"] .nf-ig-langwrap { margin-left: 0; margin-right: auto; }
[dir="rtl"] .nf-ig-mission, [dir="rtl"] .nf-ig-why, [dir="rtl"] .nf-ig-card {
  border-left-width: 1px; border-right: 4px solid var(--nf-ig-orange);
}
[dir="rtl"] .nf-ig-agreement { margin: 8px 30px 0 0; }
