/* Dance One Summit welcome page.
   Standalone: this page no longer loads Bootstrap, so nothing here has to
   fight framework defaults. style.css is left untouched for dts/resources. */

:root {
	--pink:        #de296a;
	--pink-dark:   #c02159;
	--ink:         #1a1a1a;
	--body:        #444;
	--muted:       #808080;
	--card:        #f4f4f4;
	--card-border: #e3e3e3;
	--field:       #d5d5d5;
}

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

body {
	margin: 0;
	padding: 0 20px;
	background: #fff;
	color: var(--body);
	font-family: "Poppins", "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 16px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
}

.page {
	max-width: 720px;
	margin: 0 auto;
	padding: 48px 0 32px;
}

/* --- Hero ---------------------------------------------------------------
   Set as live text rather than an image: it stays sharp on every display,
   reflows instead of shrinking to nothing on a phone, and is readable to
   search engines and screen readers. Swap in artwork here if the original
   lockup exists as a file. */
.hero {
	font-family: "Archivo Black", "Arial Black", Impact, sans-serif;
	font-weight: 400;
	color: var(--ink);
	text-align: center;
	text-transform: uppercase;
	font-size: clamp(2.2rem, 8.5vw, 4rem);
	line-height: 0.98;
	letter-spacing: -0.01em;
	margin: 0 0 28px;
}

.intro {
	color: var(--pink);
	font-weight: 700;
	text-align: center;
	font-size: clamp(1.05rem, 3.4vw, 1.45rem);
	line-height: 1.4;
	margin: 0 auto 36px;
	max-width: 34ch;   /* keeps the three-line rag of the mockup */
}

/* --- Form --------------------------------------------------------------- */
.card {
	background: var(--card);
	border: 1px solid var(--card-border);
	padding: 28px;
}

.field { margin-bottom: 22px; }

.field label {
	display: block;
	font-weight: 600;
	font-size: 0.95rem;
	color: var(--ink);
	margin-bottom: 8px;
}

.field input {
	display: block;
	width: 100%;
	padding: 13px 14px;
	background: #fff;
	border: 1px solid var(--field);
	border-radius: 2px;
	color: var(--ink);
	font-family: inherit;
	font-size: 16px;   /* 16px minimum stops iOS zooming on focus */
	line-height: 1.3;
}

.field input:focus {
	outline: none;
	border-color: var(--pink);
	box-shadow: 0 0 0 3px rgba(222, 41, 106, 0.18);
}

.field input[aria-invalid="true"] { border-color: var(--pink); }

.error {
	display: block;
	color: var(--pink);
	font-size: 0.85rem;
	font-weight: 600;
	margin-top: 6px;
}

.error-summary {
	background: #fff;
	border-left: 4px solid var(--pink);
	color: var(--pink);
	font-weight: 600;
	font-size: 0.92rem;
	padding: 12px 14px;
	margin-bottom: 22px;
}

.submit {
	appearance: none;
	background: var(--pink);
	border: none;
	border-radius: 2px;
	color: #fff;
	cursor: pointer;
	font-family: inherit;
	font-size: 0.95rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	padding: 14px 30px;
	text-transform: uppercase;
	transition: background-color 0.15s ease;
}

.submit:hover  { background: var(--pink-dark); }
.submit:focus-visible {
	outline: 3px solid rgba(222, 41, 106, 0.4);
	outline-offset: 2px;
}

/* --- Logos + footer ----------------------------------------------------- */
.logos {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 28px 56px;
	margin: 56px 0 48px;
}

.logos img {
	display: block;
	height: auto;
	max-width: 100%;
}

.logos .logo-fg  { width: 260px; }
.logos .logo-dos { width: 210px; }

.site-footer {
	border-top: 1px solid #e8e8e8;
	color: var(--muted);
	font-size: 0.82rem;
	padding-top: 22px;
	text-align: center;
}

/* --- Small screens ------------------------------------------------------ */
@media (max-width: 600px) {
	body { padding: 0 16px; }
	.page { padding: 32px 0 24px; }
	.card { padding: 20px; }
	.logos {
		gap: 24px;
		margin: 40px 0 36px;
	}
	.logos .logo-fg  { width: 210px; }
	.logos .logo-dos { width: 170px; }
	.submit { width: 100%; }   /* full-width tap target on a phone */
}

@media (prefers-reduced-motion: reduce) {
	.submit { transition: none; }
}
