.np-dev-page {
	margin: 0;
	background: #fff;
}

.np-dev,
.np-dev * {
	box-sizing: border-box;
}

.np-dev {
	--np-red: #ea2124;
	--np-red-dark: #c91417;
	--np-red-pale: #fff1f1;
	--np-charcoal: #25272c;
	--np-charcoal-2: #383b42;
	--np-muted: #5a616f;
	--np-muted-2: #69727d;
	--np-border: #d8dbdf;
	--np-soft-border: rgba(37, 39, 44, 0.12);
	width: 100%;
	min-height: 100vh;
	overflow-x: hidden;
	background: #fff;
	color: var(--np-charcoal);
	font-family: Inter, Helvetica, Arial, sans-serif;
	font-size: 16px;
	line-height: 1.5;
}

.np-dev svg {
	display: block;
	width: 1.25em;
	height: 1.25em;
	flex: 0 0 auto;
}

.np-dev a {
	text-decoration: none;
}

.np-dev__container {
	width: min(100% - 40px, 1200px);
	margin-inline: auto;
}

.np-dev__button {
	min-height: 48px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	padding: 11px 22px;
	border: 1px solid var(--np-red);
	border-radius: 6px;
	background: var(--np-red);
	color: #fff;
	font: inherit;
	font-weight: 700;
	line-height: 1.2;
	cursor: pointer;
	transition: background-color 160ms ease, border-color 160ms ease;
}

.np-dev__button:hover,
.np-dev__button:focus-visible {
	border-color: var(--np-red-dark);
	background: var(--np-red-dark);
	color: #fff;
}

.np-dev__button:visited {
	color: #fff;
}

.np-dev__button--outline {
	border-color: var(--np-charcoal);
	background: #fff;
	color: var(--np-charcoal);
}

.np-dev__button--outline:visited {
	color: var(--np-charcoal);
}

.np-dev__button--outline:hover,
.np-dev__button--outline:focus-visible {
	border-color: var(--np-charcoal);
	background: rgba(37, 39, 44, 0.04);
	color: var(--np-charcoal);
}

.np-dev__button--dark-outline {
	border-color: rgba(255, 255, 255, 0.72);
	background: transparent;
	color: #fff;
}

.np-dev__button--dark-outline:hover,
.np-dev__button--dark-outline:focus-visible {
	border-color: #fff;
	background: rgba(255, 255, 255, 0.08);
}

.np-dev__hero {
	padding: 104px 0 96px;
	border-bottom: 1px solid var(--np-soft-border);
}

.np-dev__hero-inner {
	display: grid;
	gap: 56px;
}

.np-dev__hero-copy {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.np-dev__chip {
	width: fit-content;
	margin: 0 0 24px;
	padding: 7px 12px;
	border: 1px solid rgba(234, 33, 36, 0.18);
	border-radius: 6px;
	background: var(--np-red-pale);
	color: var(--np-red);
	font-size: 14px;
	font-weight: 700;
}

.np-dev h1,
.np-dev h2 {
	margin: 0;
	font-family: "Playfair Display", Georgia, serif;
	font-weight: 800;
	letter-spacing: 0;
}

.np-dev h1 {
	max-width: 980px;
	font-size: 70px;
	line-height: 1.02;
}

.np-dev__lead {
	max-width: 820px;
	margin: 22px auto 0;
	color: var(--np-muted);
	font-size: 18px;
	font-weight: 500;
	line-height: 1.75;
}

.np-dev__actions {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 28px;
}

.np-dev__metrics {
	width: min(100%, 760px);
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 8px;
	margin-top: 28px;
}

.np-dev__metrics span {
	padding: 10px 12px;
	border: 1px solid var(--np-border);
	border-radius: 6px;
	color: var(--np-charcoal-2);
	font-size: 14px;
	font-weight: 700;
}

.np-dev__workflow {
	width: min(100%, 980px);
	margin-inline: auto;
	overflow: hidden;
	border: 1px solid rgba(234, 33, 36, 0.32);
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 26px 70px rgba(37, 39, 44, 0.08);
}

.np-dev__window-bar {
	min-height: 50px;
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 12px 16px;
	border-bottom: 1px solid var(--np-soft-border);
	background: #f7f8f8;
}

.np-dev__window-bar span {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #ef4444;
}

.np-dev__window-bar span:nth-child(2) {
	background: #f59e0b;
}

.np-dev__window-bar span:nth-child(3) {
	background: #22c55e;
}

.np-dev__window-bar strong {
	margin-left: 4px;
	color: var(--np-muted);
	font-size: 12px;
}

.np-dev__workflow-body {
	padding: 26px 28px;
}

.np-dev__endpoint {
	display: grid;
	grid-template-columns: 92px minmax(0, 1fr);
	align-items: center;
	gap: 12px;
	margin-bottom: 18px;
}

.np-dev__endpoint b {
	padding: 7px 8px;
	border-radius: 6px;
	background: var(--np-charcoal);
	color: #fff;
	font-size: 12px;
	text-align: center;
}

.np-dev__endpoint:first-child b {
	background: var(--np-red);
}

.np-dev__endpoint code {
	min-width: 0;
	overflow-wrap: anywhere;
	color: var(--np-charcoal-2);
	font-size: 15px;
}

.np-dev__check-list,
.np-dev__access-list {
	margin: 22px 0 0;
	padding: 22px 0 0;
	border-top: 1px solid var(--np-soft-border);
	list-style: none;
}

.np-dev__check-list li,
.np-dev__access-list li {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 13px;
}

.np-dev__check-list svg,
.np-dev__access-list svg {
	color: var(--np-red);
}

.np-dev__section {
	padding: 80px 0;
	scroll-margin-top: 24px;
	border-bottom: 1px solid var(--np-soft-border);
}

.np-dev__section-heading {
	max-width: 860px;
	margin-bottom: 36px;
}

.np-dev__eyebrow {
	margin: 0 0 12px;
	color: var(--np-red);
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.np-dev__section-heading h2,
.np-dev__access-copy h2 {
	font-size: 44px;
	line-height: 1.12;
}

.np-dev__section-heading > p:last-child,
.np-dev__access-copy > p:not(.np-dev__eyebrow) {
	margin: 14px 0 0;
	color: var(--np-muted);
	font-size: 18px;
	line-height: 1.65;
}

.np-dev__card-grid {
	display: grid;
	gap: 16px;
}

.np-dev__card-grid--three {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.np-dev__card-grid--four {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.np-dev__card {
	min-height: 224px;
	padding: 28px;
	border: 1px solid var(--np-soft-border);
	border-radius: 8px;
	background: #fff;
	transition: border-color 160ms ease, transform 160ms ease;
}

.np-dev__card:hover {
	transform: translateY(-2px);
	border-color: rgba(234, 33, 36, 0.35);
}

.np-dev__icon,
.np-dev__step-number {
	width: 46px;
	height: 46px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 22px;
	border-radius: 6px;
	background: var(--np-red-pale);
	color: var(--np-red);
}

.np-dev__card h3,
.np-dev__form h3 {
	margin: 0 0 10px;
	color: var(--np-charcoal);
	font-size: 18px;
	font-weight: 800;
	line-height: 1.25;
}

.np-dev__card p {
	margin: 0;
	color: var(--np-muted);
	font-size: 16px;
	line-height: 1.6;
}

.np-dev__step-number {
	width: 38px;
	height: 38px;
	background: var(--np-charcoal);
	color: #fff;
	font-weight: 800;
}

.np-dev__sample-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
	align-items: stretch;
	gap: 24px;
}

.np-dev__sample-side {
	min-width: 0;
	display: grid;
	align-content: start;
	gap: 24px;
}

.np-dev__code-panel {
	min-width: 0;
	overflow: hidden;
	border: 1px solid rgba(37, 39, 44, 0.18);
	border-radius: 8px;
	background: var(--np-charcoal);
	color: #f8fafc;
}

.np-dev__code-title {
	display: flex;
	align-items: center;
	gap: 9px;
	padding: 13px 16px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	font-size: 14px;
	font-weight: 800;
}

.np-dev__code-title svg {
	color: var(--np-red);
}

.np-dev__code-panel pre {
	max-width: 100%;
	margin: 0;
	overflow-x: auto;
	padding: 22px;
	background: transparent;
	color: #f7f8f8;
	font: 14px/1.68 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
	white-space: pre;
}

.np-dev__code-panel code {
	background: transparent;
	color: inherit;
	font: inherit;
}

.np-dev__sample-notes {
	padding: 24px;
	border: 1px solid var(--np-soft-border);
	border-radius: 8px;
}

.np-dev__sample-notes p {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin: 0 0 18px;
	line-height: 1.55;
}

.np-dev__sample-notes p:last-child {
	margin-bottom: 0;
}

.np-dev__sample-notes svg {
	margin-top: 2px;
	color: var(--np-red);
}

.np-dev__access {
	padding: 80px 0;
	scroll-margin-top: 24px;
	background: var(--np-charcoal);
	color: #fff;
}

.np-dev__access-grid {
	display: grid;
	grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
	align-items: start;
	gap: 48px;
}

.np-dev__access-copy h2 {
	color: #fff;
}

.np-dev__eyebrow--light {
	color: #fff;
}

.np-dev__access-copy > p:not(.np-dev__eyebrow) {
	color: rgba(255, 255, 255, 0.74);
}

.np-dev__access-list {
	border-top: 0;
	color: rgba(255, 255, 255, 0.82);
}

.np-dev__access-copy .np-dev__actions {
	justify-content: flex-start;
}

.np-dev__form {
	padding: 30px;
	border-radius: 8px;
	background: #fff;
	color: var(--np-charcoal);
}

.np-dev__form h3 {
	margin-bottom: 20px;
}

.np-dev__form-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

.np-dev__form label {
	display: block;
	margin-bottom: 16px;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.4;
}

.np-dev__form label span {
	color: var(--np-red);
}

.np-dev__form input,
.np-dev__form select,
.np-dev__form textarea {
	display: block;
	width: 100%;
	min-height: 50px;
	margin-top: 7px;
	padding: 12px 14px;
	border: 1px solid #b8bec6;
	border-radius: 6px;
	background: #fff;
	color: var(--np-charcoal);
	font: 400 16px/1.4 Inter, Helvetica, Arial, sans-serif;
}

.np-dev__form input::placeholder,
.np-dev__form textarea::placeholder {
	color: #7a7f87;
	font: 400 16px/1.4 Inter, Helvetica, Arial, sans-serif !important;
	opacity: 1;
}

.np-dev__form textarea {
	min-height: 116px;
	resize: vertical;
}

.np-dev__form input:focus,
.np-dev__form select:focus,
.np-dev__form textarea:focus {
	border-color: var(--np-red);
	box-shadow: 0 0 0 2px rgba(234, 33, 36, 0.13);
	outline: 0;
}

.np-dev__form-message {
	margin-bottom: 18px;
	padding: 12px 14px;
	border: 1px solid #efb5b6;
	border-radius: 6px;
	background: #fff3f3;
	color: #8f1214;
	font-size: 14px;
	font-weight: 600;
}

.np-dev__form-message.is-success {
	border-color: #9bc7aa;
	background: #f0faf3;
	color: #1f6838;
}

.np-dev__form-submit {
	width: 100%;
}

.np-dev__form-submit:disabled {
	opacity: 0.65;
	cursor: wait;
}

.np-dev__honeypot {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

@media (max-width: 1023px) {
	.np-dev h1 {
		font-size: 57px;
	}

	.np-dev__card-grid--three,
	.np-dev__card-grid--four {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.np-dev__sample-grid,
	.np-dev__access-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 767px) {
	.np-dev__container {
		width: min(100% - 32px, 1200px);
	}

	.np-dev__hero {
		padding: 56px 0;
	}

	.np-dev h1 {
		font-size: 42px;
	}

	.np-dev__lead,
	.np-dev__section-heading > p:last-child,
	.np-dev__access-copy > p:not(.np-dev__eyebrow) {
		font-size: 16px;
	}

	.np-dev__actions {
		width: 100%;
		align-items: stretch;
		flex-direction: column;
	}

	.np-dev__button {
		width: 100%;
	}

	.np-dev__metrics {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.np-dev__workflow-body {
		padding: 22px 18px;
	}

	.np-dev__endpoint {
		grid-template-columns: 82px minmax(0, 1fr);
	}

	.np-dev__endpoint code {
		font-size: 13px;
	}

	.np-dev__section,
	.np-dev__access {
		padding: 56px 0;
	}

	.np-dev__section-heading h2,
	.np-dev__access-copy h2 {
		font-size: 33px;
	}

	.np-dev__card-grid--three,
	.np-dev__card-grid--four,
	.np-dev__form-grid {
		grid-template-columns: 1fr;
	}

	.np-dev__card {
		min-height: 0;
	}

	.np-dev__form {
		padding: 22px;
	}
}

@media (max-width: 479px) {
	.np-dev h1 {
		font-size: 38px;
	}

	.np-dev__metrics {
		grid-template-columns: 1fr;
	}
}

@media (prefers-reduced-motion: reduce) {
	.np-dev *,
	.np-dev *::before,
	.np-dev *::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}
}
