.bluenote-newsletter {
	--bn-accent: #0a315f;
	--bn-accent-dark: #062546;
	--bn-ink: #16263a;
	--bn-muted: #5f6d7b;
	--bn-line: #d8e0e8;
	--bn-bg: #f5f8fb;
	box-sizing: border-box;
	width: 100%;
	max-width: 920px;
	margin: 24px auto;
	padding: clamp(24px, 5vw, 52px);
	border: 1px solid rgba(10, 49, 95, .12);
	border-radius: 18px;
	background: linear-gradient(135deg, #fff 0%, var(--bn-bg) 100%);
	box-shadow: 0 18px 50px rgba(10, 49, 95, .09);
	color: var(--bn-ink);
	font-family: inherit;
}

.bluenote-newsletter *,
.bluenote-newsletter *::before,
.bluenote-newsletter *::after { box-sizing: border-box; }

.bluenote-newsletter__eyebrow {
	margin: 0 0 8px;
	color: var(--bn-accent);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
}

.bluenote-newsletter__title {
	margin: 0 0 12px;
	color: var(--bn-accent);
	font-size: clamp(26px, 4vw, 38px);
	font-weight: 500;
	line-height: 1.15;
}

.bluenote-newsletter__description {
	max-width: 670px;
	margin: 0 0 28px;
	color: var(--bn-muted);
	font-size: 17px;
	line-height: 1.6;
}

.bluenote-newsletter__field label {
	display: block;
	margin: 0 0 8px;
	font-size: 14px;
	font-weight: 700;
}

.bluenote-newsletter__email-row { display: flex; gap: 10px; }

.bluenote-newsletter__email-row input {
	min-width: 0;
	min-height: 50px;
	flex: 1;
	margin: 0;
	padding: 12px 16px;
	border: 1px solid var(--bn-line);
	border-radius: 8px;
	background: #fff;
	color: var(--bn-ink);
	font: inherit;
	font-size: 16px;
	outline: none;
	transition: border-color .2s ease, box-shadow .2s ease;
}

.bluenote-newsletter__email-row input:focus {
	border-color: var(--bn-accent);
	box-shadow: 0 0 0 3px rgba(10, 49, 95, .13);
}

.bluenote-newsletter__submit {
	min-height: 50px;
	padding: 12px 25px;
	border: 1px solid var(--bn-accent);
	border-radius: 999px;
	background: var(--bn-accent);
	color: #fff;
	cursor: pointer;
	font: inherit;
	font-size: 15px;
	font-weight: 700;
	line-height: 1;
	transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.bluenote-newsletter__submit:hover,
.bluenote-newsletter__submit:focus-visible {
	border-color: var(--bn-accent-dark);
	background: var(--bn-accent-dark);
	transform: translateY(-1px);
}

.bluenote-newsletter__submit:focus-visible,
.bluenote-newsletter__consent input:focus-visible {
	outline: 3px solid rgba(10, 49, 95, .25);
	outline-offset: 2px;
}

.bluenote-newsletter__consent {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin-top: 18px;
	color: var(--bn-ink);
	cursor: pointer;
	font-size: 14px;
	line-height: 1.5;
}

.bluenote-newsletter__consent input {
	width: 18px;
	height: 18px;
	flex: 0 0 auto;
	margin: 2px 0 0;
	accent-color: var(--bn-accent);
}

.bluenote-newsletter__actions { flex: 0 0 auto; text-align: center; }
.bluenote-newsletter__actions .bluenote-newsletter__submit { display: block; width: 100%; }
.bluenote-newsletter__already {
	display: inline-block;
	margin: 7px 0 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--bn-muted);
	cursor: pointer;
	font: inherit;
	font-size: 11px;
	line-height: 1.25;
	text-decoration: underline;
	text-decoration-color: rgba(95, 109, 123, .45);
	text-underline-offset: 2px;
}
.bluenote-newsletter__already:hover,
.bluenote-newsletter__already:focus-visible { color: var(--bn-accent); }

.bluenote-newsletter a { color: var(--bn-accent); text-decoration: underline; text-underline-offset: 2px; }
.bluenote-newsletter__legal { margin: 16px 0 0; color: var(--bn-muted); font-size: 12px; line-height: 1.55; }
.bluenote-newsletter__error { display: block; min-height: 20px; margin-top: 4px; color: #a52121; font-size: 13px; }
.bluenote-newsletter__consent-error { min-height: 0; margin-left: 28px; }
.bluenote-newsletter__status { margin: 12px 0 0; color: var(--bn-accent); font-size: 14px; font-weight: 700; }
.bluenote-newsletter__honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.bluenote-newsletter .is-invalid { border-color: #a52121 !important; }

body.bluenote-newsletter-modal-open { overflow: hidden; }
.bluenote-newsletter-modal[hidden] { display: none !important; }
.bluenote-newsletter-modal {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: grid;
	place-items: center;
	padding: 20px;
	opacity: 0;
	transition: opacity .2s ease;
}
.bluenote-newsletter-modal.is-visible { opacity: 1; }
.bluenote-newsletter-modal__backdrop { position: absolute; inset: 0; background: rgba(3, 20, 39, .72); backdrop-filter: blur(3px); }
.bluenote-newsletter-modal__dialog {
	position: relative;
	z-index: 1;
	width: min(720px, 100%);
	max-height: calc(100vh - 40px);
	overflow: auto;
	border-radius: 18px;
	transform: translateY(12px) scale(.985);
	transition: transform .2s ease;
}
.bluenote-newsletter-modal.is-visible .bluenote-newsletter-modal__dialog { transform: none; }
.bluenote-newsletter-modal__close {
	position: absolute;
	top: 10px;
	right: 12px;
	z-index: 2;
	display: grid;
	width: 36px;
	height: 36px;
	place-items: center;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: #5f6d7b;
	cursor: pointer;
	font: 300 29px/1 Arial, sans-serif;
}
.bluenote-newsletter-modal__close:hover,
.bluenote-newsletter-modal__close:focus-visible { background: rgba(10, 49, 95, .08); color: var(--bn-accent, #0a315f); outline: none; }
.bluenote-newsletter--popup { max-width: none; margin: 0; padding: clamp(24px, 5vw, 42px); box-shadow: none; }
.bluenote-newsletter--popup .bluenote-newsletter__title { padding-right: 24px; font-size: clamp(25px, 4vw, 34px); }
.bluenote-newsletter--popup .bluenote-newsletter__description { margin-bottom: 22px; font-size: 16px; }

.bluenote-newsletter--inline {
	display: grid;
	grid-template-columns: minmax(220px, .85fr) minmax(320px, 1.15fr);
	gap: clamp(24px, 5vw, 56px);
	align-items: center;
}
.bluenote-newsletter--inline .bluenote-newsletter__description { margin-bottom: 0; }

@media (max-width: 700px) {
	.bluenote-newsletter { border-radius: 12px; }
	.bluenote-newsletter--inline { display: block; }
	.bluenote-newsletter--inline .bluenote-newsletter__description { margin-bottom: 24px; }
	.bluenote-newsletter__email-row { display: block; }
	.bluenote-newsletter__actions { width: 100%; margin-top: 10px; }
	.bluenote-newsletter-modal { padding: 10px; }
	.bluenote-newsletter-modal__dialog { max-height: calc(100vh - 20px); }
	.bluenote-newsletter--popup { padding: 26px 20px 22px; }
}

@media (prefers-reduced-motion: reduce) {
	.bluenote-newsletter * { scroll-behavior: auto !important; transition: none !important; }
}

.bluenote-newsletter-editor {
	padding: 30px;
	border: 1px solid #d8e0e8;
	border-radius: 12px;
	background: #f5f8fb;
	color: #16263a;
}
.bluenote-newsletter-editor__eyebrow { color: #0a315f; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.bluenote-newsletter-editor h3 { margin: 8px 0; color: #0a315f; font-size: 28px; font-weight: 500; }
.bluenote-newsletter-editor__button { display: inline-block; margin-top: 8px; padding: 11px 20px; border-radius: 999px; background: #0a315f; color: #fff; font-weight: 700; }
