/* The free audit page (design "Free Audit (F)", Dom 27 November 2026). */

/* On a phone the page is one column and the form comes straight after the title. */
@media (max-width: 900px) {
	[data-audit-landing] > #audit-form { grid-column: auto !important; }
}

/* A slow coral light travelling round the form's edge, and a soft glow that rises and falls with it, to draw the eye
   to the form without moving anything in it. Still for anyone who asks for less motion. */
@property --audit-sweep { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
#audit-form { position: relative; animation: audit-glow 7s ease-in-out infinite; }
#audit-form::before {
	content: "";
	position: absolute;
	inset: -2px;
	padding: 2px;
	border-radius: 14px;
	background: conic-gradient(from var(--audit-sweep), rgba(239, 111, 108, 0) 0deg, rgba(239, 111, 108, 0) 220deg, rgba(239, 111, 108, .85) 320deg, rgba(239, 111, 108, 0) 360deg);
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	-webkit-mask-composite: xor;
	mask-composite: exclude;
	pointer-events: none;
	animation: audit-sweep 10s linear infinite;
}
@keyframes audit-sweep { to { --audit-sweep: 360deg; } }
@keyframes audit-glow {
	0%, 100% { box-shadow: 0 10px 40px -18px rgba(239, 111, 108, 0); }
	50% { box-shadow: 0 14px 48px -14px rgba(239, 111, 108, .32); }
}
@media (prefers-reduced-motion: reduce) {
	#audit-form, #audit-form::before { animation: none; }
}
