/* GM Auto Sales – Registration Submitted
   Scoped to .gmda-ty so it can't leak into the theme. Font is inherited from the site. */

.gmda-ty {
	--gmda-red: #A50707;
	--gmda-red-deep: #7A0505;
	--gmda-red-tint: #F6D9D9;
	--gmda-graphite: #1C1E22;
	--gmda-text: #3A3D44;
	--gmda-slate: #5E636C;
	--gmda-rule: #E4E5E8;
	--gmda-idle: #C9CBD0;

	box-sizing: border-box;
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 56px;
	align-items: start;
	max-width: 1120px;
	margin: 56px auto 72px;
	padding: 0 24px;
	color: var(--gmda-text);
	text-align: left;
}
.gmda-ty *,
.gmda-ty *::before,
.gmda-ty *::after { box-sizing: inherit; }

/* ---------- Headline + copy ---------- */

.gmda-ty .gmda-ty__title {
	margin: 0 0 20px;
	font-size: clamp(2rem, 1.35rem + 2.4vw, 3rem);
	font-weight: 800;
	line-height: 1.08;
	letter-spacing: -0.02em;
	color: var(--gmda-graphite);
	text-transform: none;
}
.gmda-ty .gmda-ty__lead {
	margin: 0 0 40px;
	max-width: 62ch;
	font-size: 1.125rem;
	line-height: 1.6;
}
.gmda-ty .gmda-ty__body {
	margin: 0 0 12px;
	max-width: 62ch;
	font-size: 1rem;
	line-height: 1.65;
}
.gmda-ty .gmda-ty__note {
	margin: 0 0 32px;
	max-width: 62ch;
	font-size: 0.9rem;
	line-height: 1.6;
	color: var(--gmda-slate);
}

/* ---------- Status ---------- */

.gmda-ty .gmda-ty__status {
	margin: 0 0 40px;
	padding: 28px 0 8px;
	border-top: 1px solid var(--gmda-rule);
	border-bottom: 1px solid var(--gmda-rule);
}
.gmda-ty .gmda-ty__status-head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	margin-bottom: 28px;
}
.gmda-ty .gmda-ty__status-label {
	font-size: 0.95rem;
	font-weight: 600;
	color: var(--gmda-graphite);
}
.gmda-ty .gmda-ty__pill {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 5px 12px;
	border-radius: 999px;
	background: #FBEDED;
	border: 1px solid #EFC6C6;
	color: var(--gmda-red);
	font-size: 0.85rem;
	font-weight: 700;
	line-height: 1.2;
}
.gmda-ty .gmda-ty__pill-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--gmda-red);
}

/* Track: three steps joined by a lane. The in-progress lane is the page's one moving element. */
.gmda-ty .gmda-ty__track {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin: 0;
	padding: 0;
	list-style: none;
}
.gmda-ty .gmda-ty__step {
	position: relative;
	margin: 0;
	padding: 40px 20px 20px 0;
	list-style: none;
}
.gmda-ty .gmda-ty__step::before,
.gmda-ty .gmda-ty__step::marker { content: none; }

.gmda-ty .gmda-ty__node {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: #fff;
	border: 2px solid var(--gmda-idle);
	color: #fff;
}
.gmda-ty .gmda-ty__lane {
	position: absolute;
	top: 10px;
	left: 26px;
	right: 0;
	height: 6px;
	background: var(--gmda-rule);
}
.gmda-ty .gmda-ty__step:last-child .gmda-ty__lane { display: none; }

.gmda-ty .is-done .gmda-ty__node {
	background: var(--gmda-red);
	border-color: var(--gmda-red);
}
.gmda-ty .is-done .gmda-ty__lane { background: var(--gmda-red); }

.gmda-ty .is-current .gmda-ty__node {
	border: 3px solid var(--gmda-red);
	box-shadow: inset 0 0 0 4px #fff, inset 0 0 0 12px var(--gmda-red);
}
.gmda-ty .is-current .gmda-ty__lane {
	background-image: repeating-linear-gradient(
		135deg,
		var(--gmda-red) 0 8px,
		var(--gmda-red-tint) 8px 16px
	);
	background-size: 22.63px 100%;
	animation: gmda-lane-x 1.4s linear infinite;
}

.gmda-ty .gmda-ty__step-title {
	display: block;
	margin-bottom: 6px;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.3;
	color: var(--gmda-graphite);
}
.gmda-ty .is-todo .gmda-ty__step-title { color: var(--gmda-slate); }
.gmda-ty .gmda-ty__step-desc {
	display: block;
	font-size: 0.875rem;
	line-height: 1.5;
	color: var(--gmda-slate);
}

@keyframes gmda-lane-x { to { background-position: 22.63px 0; } }
@keyframes gmda-lane-y { to { background-position: 0 22.63px; } }

/* ---------- Buttons ---------- */

.gmda-ty .gmda-ty__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}
.gmda-ty a.gmda-ty__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 24px;
	border-radius: 4px;
	border: 2px solid transparent;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
	transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.gmda-ty a.gmda-ty__btn--primary {
	background: var(--gmda-red);
	border-color: var(--gmda-red);
	color: #fff;
}
.gmda-ty a.gmda-ty__btn--primary:hover { background: var(--gmda-red-deep); border-color: var(--gmda-red-deep); color: #fff; }
.gmda-ty a.gmda-ty__btn--secondary {
	background: transparent;
	border-color: var(--gmda-graphite);
	color: var(--gmda-graphite);
}
.gmda-ty a.gmda-ty__btn--secondary:hover { background: var(--gmda-graphite); color: #fff; }
.gmda-ty a:focus-visible {
	outline: 3px solid var(--gmda-red);
	outline-offset: 3px;
}

/* ---------- Help panel ---------- */

.gmda-ty .gmda-ty__help {
	padding: 28px;
	border-radius: 6px;
	border-top: 4px solid var(--gmda-red);
	background: var(--gmda-graphite);
	color: #C9CBD0;
}
.gmda-ty .gmda-ty__help-title {
	margin: 0 0 10px;
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1.3;
	color: #fff;
}
.gmda-ty .gmda-ty__help-text {
	margin: 0 0 22px;
	font-size: 0.9rem;
	line-height: 1.55;
}
.gmda-ty a.gmda-ty__help-phone {
	display: block;
	margin-bottom: 6px;
	font-size: 1.5rem;
	font-weight: 800;
	letter-spacing: -0.01em;
	color: #fff;
	text-decoration: none;
}
.gmda-ty a.gmda-ty__help-email {
	display: inline-block;
	margin-bottom: 22px;
	font-size: 0.95rem;
	color: #fff;
	text-decoration: underline;
	text-decoration-color: var(--gmda-red);
	text-underline-offset: 4px;
	text-decoration-thickness: 2px;
	word-break: break-all;
}
.gmda-ty a.gmda-ty__help-phone:hover,
.gmda-ty a.gmda-ty__help-email:hover { color: #F6D9D9; }
.gmda-ty .gmda-ty__help a:focus-visible { outline-color: #fff; }
.gmda-ty .gmda-ty__help-address {
	margin: 0;
	padding-top: 18px;
	border-top: 1px solid #34373D;
	font-size: 0.85rem;
	font-style: normal;
	line-height: 1.6;
}

.gmda-ty .screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	margin: -1px; padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
	.gmda-ty {
		grid-template-columns: minmax(0, 1fr);
		gap: 40px;
		margin: 36px auto 56px;
		padding: 0 20px;
	}
}

@media (max-width: 600px) {
	.gmda-ty .gmda-ty__lead { font-size: 1.05rem; margin-bottom: 32px; }
	.gmda-ty .gmda-ty__track { grid-template-columns: minmax(0, 1fr); }
	.gmda-ty .gmda-ty__step { padding: 2px 0 24px 44px; }
	.gmda-ty .gmda-ty__lane {
		top: 26px;
		bottom: 0;
		left: 10px;
		right: auto;
		width: 6px;
		height: auto;
	}
	.gmda-ty .is-current .gmda-ty__lane {
		background-size: 100% 22.63px;
		animation-name: gmda-lane-y;
	}
	.gmda-ty .gmda-ty__actions { flex-direction: column; }
	.gmda-ty a.gmda-ty__btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
	.gmda-ty .is-current .gmda-ty__lane { animation: none; }
	.gmda-ty a.gmda-ty__btn { transition: none; }
}
