/* For developers page (NOM_Developers). Light site palette: ink #111418, navy #1E3A5F. */
.nd { --nd-ink: #111418; --nd-ink2: #2B3138; --nd-mut: #5B626B; --nd-line: #E3E6EA; --nd-navy: #1E3A5F; --nd-tint: #F4F6F9; color: var(--nd-ink); font-family: 'Source Sans 3', system-ui, sans-serif; }
.nd * { box-sizing: border-box; }
.nd-wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.nd-narrow { max-width: 760px; }
.nd-eyebrow { margin: 0 0 10px; font-size: 12.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--nd-navy); }
.nd h1, .nd h2, .nd h3 { font-family: 'Playfair Display', Georgia, serif; font-weight: 500; color: var(--nd-ink); margin: 0; }
.nd-hero { background: var(--nd-navy); color: #fff; padding: 120px 0 72px; }
.nd-hero .nd-eyebrow { color: #C9D6E6; }
.nd-hero h1 { color: #fff; font-size: clamp(2.4rem, 5.2vw, 4rem); line-height: 1.06; max-width: 14ch; }
.nd-lede { max-width: 640px; margin: 18px 0 0; font-size: 1.18rem; line-height: 1.55; color: #E3EAF3; }
.nd-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.nd-btn { display: inline-flex; align-items: center; justify-content: center; padding: 13px 22px; border-radius: 10px; border: 1px solid var(--nd-navy); background: var(--nd-navy); color: #fff !important; font: 600 15px 'Source Sans 3', sans-serif; text-decoration: none; cursor: pointer; }
.nd-hero .nd-btn { background: #fff; color: var(--nd-navy) !important; border-color: #fff; }
.nd-btn--line, .nd-hero .nd-btn--line { background: transparent; color: #fff !important; border-color: rgba(255,255,255,.55); }
.nd-fine { margin: 14px 0 0; font-size: 13px; color: var(--nd-mut); }
.nd-hero .nd-fine { color: #B9C7D8; }
.nd-stats { background: #fff; border-bottom: 1px solid var(--nd-line); padding: 34px 0 22px; }
.nd-stats__row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.nd-stat strong { display: block; font-family: 'Playfair Display', Georgia, serif; font-weight: 500; font-size: 2.3rem; color: var(--nd-navy); line-height: 1.1; }
.nd-stat span { display: block; margin-top: 4px; color: var(--nd-ink2); font-size: 15px; }
.nd-note { margin-top: 16px !important; font-size: 13px; color: var(--nd-mut); }
.nd-sec { padding: 72px 0; background: #fff; }
.nd-sec--tint { background: var(--nd-tint); }
.nd-sec h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); line-height: 1.15; max-width: 22ch; }
.nd-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 34px; }
.nd-card { padding: 22px; border: 1px solid var(--nd-line); border-radius: 14px; background: #fff; }
.nd-card h3 { font-size: 1.25rem; margin-bottom: 8px; }
.nd-card p { margin: 0; color: var(--nd-ink2); line-height: 1.5; }
.nd-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 30px; }
.nd-steps b { display: inline-flex; width: 32px; height: 32px; align-items: center; justify-content: center; border-radius: 50%; background: var(--nd-navy); color: #fff; font-size: 14px; }
.nd-steps h3 { font-size: 1.25rem; margin: 12px 0 6px; }
.nd-steps p { margin: 0; color: var(--nd-ink2); line-height: 1.5; }
.nd-sub { margin: 10px 0 24px; color: var(--nd-ink2); font-size: 1.05rem; }
.nd-form { display: grid; gap: 18px; padding: 26px; border: 1px solid var(--nd-line); border-radius: 16px; background: #fff; box-shadow: 0 10px 30px rgba(17,20,24,.06); }
.nd-q { display: grid; gap: 8px; }
.nd-q__l, .nd-f > span { font-weight: 700; font-size: 14px; color: var(--nd-ink); }
.nd-q__l small, .nd-f small { font-weight: 400; color: var(--nd-mut); }
.nd-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.nd-chip { position: relative; cursor: pointer; }
.nd-chip input { position: absolute; opacity: 0; pointer-events: none; }
.nd-chip span { display: inline-block; padding: 8px 14px; border: 1px solid var(--nd-line); border-radius: 999px; font-size: 14px; color: var(--nd-ink2); background: #fff; }
.nd-chips--tight .nd-chip span { padding: 6px 11px; font-size: 13px; }
.nd-chip input:checked + span { background: var(--nd-navy); border-color: var(--nd-navy); color: #fff; }
.nd-chip input:focus-visible + span { outline: 2px solid var(--nd-navy); outline-offset: 2px; }
.nd-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; }
.nd-f { display: grid; gap: 6px; }
.nd-f input, .nd-f select, .nd-f textarea { width: 100%; padding: 11px 12px; border: 1px solid #CCD3DC; border-radius: 9px; font: 15px 'Source Sans 3', sans-serif; color: var(--nd-ink); background: #fff; }
.nd-checks { display: flex; flex-wrap: wrap; gap: 18px; font-size: 14px; color: var(--nd-ink2); }
.nd-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--nd-ink2); }
.nd-form .nd-btn { justify-self: start; }
.nd-ok, .nd-err { padding: 14px 16px; border-radius: 10px; font-weight: 600; }
.nd-ok { background: #E8F3EC; color: #1F6B3A; }
.nd-err { background: #FDECEC; color: #B42318; }
@media (max-width: 860px) {
	.nd-hero { padding: 96px 0 52px; }
	.nd-stats__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.nd-grid, .nd-steps { grid-template-columns: 1fr; }
	.nd-sec { padding: 52px 0; }
	.nd-form { padding: 18px; }
}
/* Full width inside the theme's padded content column. */
.nd { margin: 0; max-width: none; }
.wp-block-post-content:has(> .nd), .entry-content:has(> .nd) { padding-top: 0; margin-top: 0; }

/* Aerial hero */
.nd-hero { background: linear-gradient(180deg, rgba(14,31,51,.86) 0%, rgba(20,42,68,.78) 55%, rgba(30,58,95,.9) 100%), var(--nd-hero-img, none) center 40% / cover no-repeat, var(--nd-navy); }

/* Search + live map */
.nd-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.nd-split__map { position: sticky; top: 90px; display: grid; gap: 10px; }
.nd-map { height: 540px; border-radius: 16px; overflow: hidden; background: #EEF3F8; border: 1px solid var(--nd-line); box-shadow: 0 10px 30px rgba(17,20,24,.12); }
.nd-map .leaflet-control-attribution { font-size: 10px; }
.nd-count { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.nd-count strong { font-family: 'Playfair Display', Georgia, serif; font-weight: 500; font-size: 2.2rem; color: var(--nd-navy); line-height: 1; }
.nd-count span { color: var(--nd-ink2); font-size: 15px; }
.nd-legend { display: flex; gap: 16px; font-size: 13px; color: var(--nd-mut); }
.nd-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; background: #B7C0CC; vertical-align: -1px; }
.nd-legend i.is-fit { background: #FFC857; box-shadow: 0 0 0 1px rgba(17,20,24,.4); }
.nd-break { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 14px; color: var(--nd-ink2); }
.nd-break b { color: var(--nd-ink); }
@media (max-width: 960px) {
	.nd-split { grid-template-columns: 1fr; }
	.nd-split__map { position: static; order: -1; }
	.nd-map { height: 300px; }
	.nd-count strong { font-size: 1.7rem; }
}

/* Light, live map (like the homes map) */
.nd-map.is-aerial { background: #3E5A66; }
.nd-map .nd-dots { pointer-events: none; }
.nd-map .leaflet-interactive { cursor: pointer; }
.nd-hud { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; background: rgba(255,255,255,.94); box-shadow: 0 4px 14px rgba(17,20,24,.12); font: 600 12.5px 'Source Sans 3', sans-serif; color: var(--nd-ink); letter-spacing: .01em; }
.nd-hud i { width: 8px; height: 8px; border-radius: 50%; background: #22A06B; box-shadow: 0 0 0 0 rgba(34,160,107,.6); animation: nd-pulse 1.8s infinite; }
@keyframes nd-pulse { 0% { box-shadow: 0 0 0 0 rgba(34,160,107,.55); } 70% { box-shadow: 0 0 0 8px rgba(34,160,107,0); } 100% { box-shadow: 0 0 0 0 rgba(34,160,107,0); } }
@media (prefers-reduced-motion: reduce) { .nd-hud i { animation: none; } }
.nd-sw { display: flex; padding: 3px; border-radius: 10px; background: rgba(255,255,255,.94); box-shadow: 0 4px 14px rgba(17,20,24,.12); }
.nd-sw button { border: 0; background: none; padding: 6px 11px; border-radius: 7px; font: 600 12.5px 'Source Sans 3', sans-serif; color: var(--nd-ink2); cursor: pointer; }
.nd-sw button.is-on { background: var(--nd-navy); color: #fff; }
.nd-tip { border: 0; border-radius: 8px; padding: 5px 9px; background: #111418; color: #fff; font: 600 12.5px 'Source Sans 3', sans-serif; box-shadow: 0 6px 18px rgba(17,20,24,.25); }
.nd-tip::before { display: none; }
.nd-legend i { background: rgba(30,58,95,.32); }
.nd-legend i.is-fit { background: #1E3A5F; box-shadow: 0 0 0 3px rgba(47,111,237,.18); }
.nd-legend em { font-style: normal; margin-left: auto; }
