/* ITNYT Coming Soon Gate — approved design (desktop + mobile) */

:root {
	--itnyt-paper: #F5F4F2;
	--itnyt-ink: #1A1A1A;
	--itnyt-muted: #6B6B6B;
	--itnyt-light: #9A9A9A;
	--itnyt-border: #DADAD7;
	--itnyt-bordeaux: #8B1E2D;
	--itnyt-bordeaux-dark: #741826;
}

* { box-sizing: border-box; }

html, body { height: 100%; }

.itnyt-cs-body {
	margin: 0;
	background: var(--itnyt-paper);
	color: var(--itnyt-ink);
	font-family: Inter, "IBM Plex Sans", Arial, Helvetica, sans-serif;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

/* Stage: full viewport, content sits slightly below optical centre (~10% lower). */
.itnyt-cs-stage {
	min-height: 100vh;
	min-height: 100dvh;
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 0 24px;
}
.itnyt-cs-spacer-top { flex: 1.15; }
.itnyt-cs-spacer-bottom { flex: 0.85; }

.itnyt-cs-main {
	flex: 0 0 auto;
	width: 100%;
	max-width: 900px;
	text-align: center;
}

.itnyt-cs-eyebrow {
	margin: 0;
	color: var(--itnyt-bordeaux);
	font-weight: 700;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	font-size: 13px;
}

.itnyt-cs-logo {
	margin: 14px 0 0;
	font-weight: 900;
	letter-spacing: -1px;
	line-height: 0.9;
	font-size: 66px;
}
.itnyt-cs-logo-sm { font-size: 46px; margin-top: 0; }
.itnyt-cs-it { color: var(--itnyt-ink); }
.itnyt-cs-nyt { color: var(--itnyt-bordeaux); }

.itnyt-cs-slogan {
	margin: 16px auto 0;
	max-width: none;
	white-space: nowrap;
	font-size: 20px;
	line-height: 1.4;
	color: var(--itnyt-ink);
}

.itnyt-cs-rule {
	width: 80px;
	height: 2px;
	background: #CFC9C2;
	border: 0;
	margin: 20px auto 0;
}

.itnyt-cs-formhead {
	margin: 34px 0 0;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	font-size: 13px;
	color: var(--itnyt-ink);
}

.itnyt-cs-form { margin: 14px 0 0; }

.itnyt-cs-fields {
	display: flex;
	gap: 10px;
	justify-content: center;
	flex-wrap: wrap;
}
.itnyt-cs-fields-stack { flex-direction: column; align-items: center; max-width: 360px; margin: 0 auto; }

.itnyt-cs-input {
	height: 52px;
	width: 200px;
	padding: 0 14px;
	font-size: 15px;
	color: var(--itnyt-ink);
	background: #fff;
	border: 1px solid var(--itnyt-border);
	border-radius: 8px;
	outline: none;
	transition: border-color 0.15s, box-shadow 0.15s;
}
.itnyt-cs-input::placeholder { color: var(--itnyt-light); }
.itnyt-cs-input:focus {
	border-color: var(--itnyt-bordeaux);
	box-shadow: 0 0 0 3px rgba(139, 30, 45, 0.15);
}
.itnyt-cs-input.itnyt-cs-invalid {
	border-color: var(--itnyt-bordeaux);
	box-shadow: 0 0 0 3px rgba(139, 30, 45, 0.12);
}

.itnyt-cs-btn {
	height: 52px;
	padding: 0 26px;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.04em;
	color: #fff;
	background: var(--itnyt-bordeaux);
	border: 0;
	border-radius: 8px;
	cursor: pointer;
	transition: background 0.15s, transform 0.1s;
}
.itnyt-cs-btn:hover { background: var(--itnyt-bordeaux-dark); }
.itnyt-cs-btn:active { transform: translateY(1px); }
.itnyt-cs-btn:disabled { opacity: 0.6; cursor: default; }

/* Honeypot — visually removed, kept in DOM for bots. */
.itnyt-cs-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	opacity: 0;
	pointer-events: none;
}

.itnyt-cs-feedback { margin: 12px auto 0; max-width: 480px; font-size: 14px; min-height: 1px; }
.itnyt-cs-feedback.itnyt-cs-ok { color: #2e6b3e; font-weight: 600; }
.itnyt-cs-feedback.itnyt-cs-bad { color: var(--itnyt-bordeaux); }

.itnyt-cs-micro {
	margin: 14px auto 0;
	max-width: 480px;
	font-size: 13px;
	line-height: 1.5;
	color: var(--itnyt-muted);
}

.itnyt-cs-nowrap { white-space: nowrap; }

.itnyt-cs-privacy-link {
	margin: 6px 0 0;
	background: none;
	border: 0;
	padding: 4px 2px;
	font: inherit;
	font-size: 13px;
	font-weight: 600;
	color: var(--itnyt-bordeaux);
	cursor: pointer;
	text-decoration: none;
}
.itnyt-cs-privacy-link:hover { text-decoration: underline; }

.itnyt-cs-error {
	margin: 14px auto 0;
	max-width: 360px;
	padding: 10px 14px;
	border: 1px solid var(--itnyt-bordeaux);
	border-radius: 8px;
	background: #fbecee;
	color: var(--itnyt-bordeaux);
	font-size: 14px;
}

.itnyt-cs-footer {
	flex: 0 0 auto;
	padding-bottom: 28px;
	color: var(--itnyt-light);
	font-size: 12px;
}

/* Privacy modal */
.itnyt-cs-overlay {
	position: fixed;
	inset: 0;
	background: rgba(26, 26, 26, 0.55);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	z-index: 9999;
}
.itnyt-cs-overlay[hidden] { display: none; }
.itnyt-cs-modal {
	position: relative;
	width: 100%;
	max-width: 520px;
	max-height: 85vh;
	overflow-y: auto;
	background: #fff;
	border-radius: 12px;
	padding: 32px 30px 26px;
	text-align: left;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}
.itnyt-cs-modal-close {
	position: absolute;
	top: 12px;
	right: 14px;
	width: 36px;
	height: 36px;
	background: none;
	border: 0;
	font-size: 26px;
	line-height: 1;
	color: var(--itnyt-muted);
	cursor: pointer;
}
.itnyt-cs-modal-close:hover { color: var(--itnyt-ink); }
.itnyt-cs-modal-title { margin: 0 0 14px; font-size: 22px; color: var(--itnyt-ink); }
.itnyt-cs-modal-body p { margin: 0 0 12px; font-size: 15px; line-height: 1.6; color: #333; }
.itnyt-cs-modal-updated { color: var(--itnyt-light); font-size: 13px; }

/* Mobile */
@media (max-width: 600px) {
	.itnyt-cs-stage { padding: 0 28px; }
	.itnyt-cs-spacer-top { flex: 1.05; }
	.itnyt-cs-spacer-bottom { flex: 0.95; }
	.itnyt-cs-logo { font-size: 46px; }
	.itnyt-cs-slogan { font-size: clamp(8px, 2.8vw, 17px); max-width: none; }
	.itnyt-cs-rule { width: 64px; margin-top: 16px; }
	.itnyt-cs-formhead { margin-top: 24px; font-size: 12px; }
	.itnyt-cs-fields { flex-direction: column; align-items: stretch; max-width: 100%; }
	.itnyt-cs-input { width: 100%; }
	.itnyt-cs-btn { width: 100%; }
	.itnyt-cs-eyebrow { font-size: 12px; }
	.itnyt-cs