/* 1.8.509 — IDX Product Designer landing page (/product-designer/). */

.idxpd-page {
	--idxpd-navy: #0f143a;
	--idxpd-yellow: #F3C91A;
	--idxpd-gold: #a8870f;
	--idxpd-muted: #4a4e63;
	--idxpd-line: #dfe1ec;
	--idxpd-white: #ffffff;
	overflow-x: hidden;
}

.idxpd-page .idxpd {
	color: var(--idxpd-navy);
	font-family: var(--font-body);
}

.idxpd-page .idxpd h1,
.idxpd-page .idxpd h2,
.idxpd-page .idxpd h3 {
	font-family: var(--font-head);
	font-weight: 600;
	letter-spacing: 0.01em;
	color: var(--idxpd-navy);
	margin: 0;
}

.idxpd-page .idxpd-hero h1,
.idxpd-page .idxpd-cta h2 {
	color: var(--idxpd-white);
}

.idxpd-page .idxpd a:focus-visible,
.idxpd-page .idxpd button:focus-visible,
.idxpd-page .idxpd summary:focus-visible {
	outline: 2px solid var(--idxpd-yellow);
	outline-offset: 3px;
}

.idxpd-wrap {
	width: min(1180px, calc(100% - 48px));
	margin: 0 auto;
}

.idxpd-hero,
.idxpd-cta {
	background-color: var(--idxpd-navy);
	background-image: url("../images/backgrounds/tex-diamond-on-dark.png");
	background-repeat: repeat;
	color: var(--idxpd-white);
}

.idxpd-hero {
	padding: 72px 0 80px;
}

.idxpd-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	gap: 48px;
	align-items: center;
}

.idxpd-kicker {
	display: inline-block;
	margin: 0 0 16px;
	font-family: var(--font-body);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--idxpd-yellow);
}

.idxpd-hero h1 {
	font-size: clamp(1.35rem, 2.4vw, 2.35rem);
	line-height: 1.15;
	white-space: nowrap;
}

.idxpd-lead,
.idxpd-note,
.idxpd-hero .idxpd-lead {
	margin: 18px 0 0;
	font-size: 1.05rem;
	line-height: 1.65;
	color: #d6d9ea;
}

.idxpd-note {
	font-size: 0.9rem;
	color: #b7bbd6;
}

.idxpd-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 28px;
}

.idxpd-page .idxpd-actions .btn {
	border-radius: 0 !important;
	min-height: 48px;
	padding: 12px 22px;
	font-weight: 700;
}

.idxpd-page .idxpd-hero .btn--ghost,
.idxpd-page .idxpd-cta .btn--ghost {
	background: transparent;
	border: 2px solid #8e93b8;
	color: var(--idxpd-white);
}

.idxpd-page .idxpd-hero .btn--ghost:hover,
.idxpd-page .idxpd-cta .btn--ghost:hover {
	border-color: var(--idxpd-yellow);
	color: var(--idxpd-yellow);
	background: transparent;
}

.idxpd-hero__media {
	min-width: 0;
}

.idxpd-hero__shot,
.idxpd-hero__media img {
	display: block;
	width: 100%;
	height: auto;
	border: 2px solid var(--idxpd-yellow);
	border-radius: 0;
	background: #0c0f26;
}

.idxpd-section {
	padding: 80px 0;
}

.idxpd-section--mist {
	background-color: #f5f6fa;
	background-image: url("../images/backgrounds/tex-diamond-on-mist.png");
	background-repeat: repeat;
}

.idxpd-section--white {
	background-color: var(--idxpd-white);
	background-image: url("../images/backgrounds/tex-diamond-on-mist.png");
	background-repeat: repeat;
	background-size: auto;
}

.idxpd-section__intro {
	max-width: 760px;
	margin: 0 0 40px;
}

.idxpd-section h2 {
	font-size: clamp(1.45rem, 2.4vw, 2.5rem);
	line-height: 1.15;
	white-space: nowrap;
}

.idxpd-section__intro p,
.idxpd-copy {
	margin: 12px 0 0;
	font-size: 1.05rem;
	line-height: 1.65;
	color: var(--idxpd-muted);
}

.idxpd-steps,
.idxpd-features,
.idxpd-plans {
	display: grid;
	gap: 24px;
}

.idxpd-steps {
	grid-template-columns: repeat(4, minmax(0, 1fr));
	align-items: stretch;
	gap: 28px;
	overflow: visible;
}

.idxpd-step {
	position: relative;
	display: flex;
	flex-direction: column;
	min-width: 0;
	padding: 32px;
	background: var(--idxpd-white);
	border: 0;
	border-top: 3px solid var(--idxpd-navy);
	border-radius: 0;
	box-shadow: 0 8px 24px rgba(15, 20, 58, 0.08);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.idxpd-step:hover,
.idxpd-step:focus-within {
	transform: translateY(-4px);
	box-shadow: 0 14px 32px rgba(15, 20, 58, 0.14);
}

.idxpd-step__n {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	margin: 0;
	background: var(--idxpd-navy);
	color: var(--idxpd-yellow);
	font-family: var(--font-head);
	font-weight: 600;
	font-size: 1.7rem;
	line-height: 1;
	border-radius: 0;
}

.idxpd-step__eyebrow {
	display: block;
	position: relative;
	width: 42px;
	height: 2px;
	margin: 20px 0 14px;
	background: var(--idxpd-yellow);
}

.idxpd-step__eyebrow::before {
	content: "";
	position: absolute;
	left: 0;
	top: -2px;
	width: 12px;
	height: 6px;
	background: var(--idxpd-yellow);
}

.idxpd-step h3 {
	margin: 0;
	font-family: var(--font-head);
	font-weight: 600;
	font-size: 1.2rem;
	line-height: 1.2;
	white-space: nowrap;
	color: var(--idxpd-navy);
}

.idxpd-step p {
	margin: 10px 0 0;
	font-family: var(--font-body);
	font-size: 0.98rem;
	line-height: 1.65;
	color: var(--idxpd-muted);
}

@media (min-width: 901px) {
	.idxpd-step:not(:last-child)::after {
		content: "";
		position: absolute;
		top: 55px;
		left: 100%;
		width: 28px;
		height: 1px;
		background: var(--idxpd-navy);
		opacity: 0.28;
		pointer-events: none;
	}
}

.idxpd-features {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.idxpd-plans {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	align-items: stretch;
	margin-top: 36px;
}

.idxpd-card,
.idxpd-plan {
	background: var(--idxpd-white);
	border: 1px solid var(--idxpd-line);
	border-radius: 0;
	padding: 28px;
	display: flex;
	flex-direction: column;
	gap: 12px;
	min-width: 0;
}



.idxpd-card h3,
.idxpd-plan h3,
.idxpd-compare h3 {
	font-size: 1.25rem;
	white-space: nowrap;
}

.idxpd-card p,
.idxpd-plan p,
.idxpd-plan li,
.idxpd-faq p,
.idxpd-compare p {
	margin: 0;
	font-size: 1rem;
	line-height: 1.6;
	color: var(--idxpd-muted);
}

.idxpd-switch {
	display: inline-flex;
	border: 2px solid var(--idxpd-navy);
	background: var(--idxpd-white);
	margin-top: 28px;
}

.idxpd-switch__btn {
	appearance: none;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: var(--idxpd-navy);
	font-family: var(--font-body);
	font-size: 0.95rem;
	font-weight: 700;
	padding: 12px 22px;
	min-height: 44px;
	cursor: pointer;
}

.idxpd-switch__btn.is-active {
	background: var(--idxpd-navy);
	color: var(--idxpd-white);
}

.idxpd-price {
	font-family: var(--font-head);
	font-weight: 600;
	font-size: 3rem;
	line-height: 1;
	color: var(--idxpd-navy);
}

.idxpd-price__term,
.idxpd-price__extra {
	font-family: var(--font-body);
	font-weight: 500;
	color: var(--idxpd-muted);
}

.idxpd-price__term {
	font-size: 1rem;
}

.idxpd-price__extra {
	display: block;
	margin-top: 6px;
	font-size: 0.875rem;
}

.idxpd-plan ul {
	margin: 0;
	padding: 0 0 0 1.1em;
	flex: 1;
}

.idxpd-plan li + li {
	margin-top: 6px;
}


.idxpd-page .idxpd-plan .btn--ghost {
	background: transparent;
	border: 2px solid var(--idxpd-navy);
	color: var(--idxpd-navy);
}

.idxpd-page .idxpd-plan .btn--ghost:hover,
.idxpd-page .idxpd-plan .btn--ghost:focus-visible {
	background: var(--idxpd-navy);
	color: var(--idxpd-white);
}

.idxpd-page .idxpd-plan .btn {
	border-radius: 0 !important;
	margin-top: auto;
	text-align: center;
	width: 100%;
	box-sizing: border-box;
}

.idxpd-compare {
	margin-top: 48px;
}

.idxpd-table-wrap {
	margin-top: 20px;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	border: 1px solid var(--idxpd-line);
	background: var(--idxpd-white);
}

.idxpd-table {
	width: 100%;
	border-collapse: collapse;
	min-width: 560px;
}

.idxpd-table th,
.idxpd-table td {
	padding: 14px 20px;
	border-bottom: 1px solid var(--idxpd-line);
	text-align: center;
	font-size: 0.95rem;
	color: var(--idxpd-navy);
}

.idxpd-table th[scope="row"] {
	text-align: left;
	font-weight: 600;
}

.idxpd-table thead th {
	font-family: var(--font-head);
	font-weight: 600;
	background: #f5f6fa;
}

.idxpd-faq-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-top: 32px;
}

.idxpd-faq {
	background: var(--idxpd-white);
	border: 1px solid var(--idxpd-line);
	border-radius: 0;
	padding: 0 22px;
}

.idxpd-faq summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	cursor: pointer;
	list-style: none;
	font-family: var(--font-head);
	font-weight: 600;
	font-size: 1.15rem;
	color: var(--idxpd-navy);
	padding: 18px 0;
	white-space: nowrap;
}

.idxpd-faq summary::-webkit-details-marker {
	display: none;
}

.idxpd-faq__plus {
	flex: 0 0 auto;
	color: var(--idxpd-gold);
	font-size: 1.4rem;
	line-height: 1;
	transition: transform 0.2s ease;
}

.idxpd-faq[open] .idxpd-faq__plus {
	transform: rotate(45deg);
}

.idxpd-faq p {
	padding: 0 0 20px;
}

.idxpd-cta {
	padding: 80px 0;
	text-align: center;
}

.idxpd-cta h2 {
	font-size: clamp(1.35rem, 2.4vw, 2.4rem);
	white-space: nowrap;
}

.idxpd-cta .idxpd-lead {
	max-width: 40em;
	margin-left: auto;
	margin-right: auto;
}

.idxpd-cta .idxpd-actions {
	justify-content: center;
}

.idxpd-legal {
	margin: 28px 0 0;
	font-size: 0.9rem;
	color: #b7bbd6;
}

.idxpd-legal a {
	color: var(--idxpd-yellow);
	text-decoration: underline;
}

.idxpd-legal a + a {
	margin-left: 20px;
}

@media (max-width: 900px) {
	.idxpd-hero__grid,
	.idxpd-steps,
	.idxpd-features,
	.idxpd-plans {
		grid-template-columns: 1fr;
	}

	.idxpd-hero {
		padding: 48px 0 56px;
	}

	.idxpd-section,
	.idxpd-cta {
		padding: 56px 0;
	}

	.idxpd-hero h1,
	.idxpd-section h2,
	.idxpd-cta h2,
	.idxpd-card h3,
	.idxpd-plan h3,
	.idxpd-compare h3,
	.idxpd-faq summary {
		white-space: nowrap;
	}

	.idxpd-hero h1 {
		font-size: clamp(1.05rem, 5.1vw, 1.45rem);
	}

	.idxpd-section h2,
	.idxpd-cta h2 {
		font-size: clamp(1.15rem, 5.4vw, 1.7rem);
	}

	.idxpd-card h3,
	.idxpd-plan h3,
	.idxpd-compare h3,
	.idxpd-faq summary {
		font-size: clamp(0.95rem, 4.1vw, 1.15rem);
	}
}

@media (max-width: 390px) {
	.idxpd-wrap {
		width: calc(100% - 32px);
	}

	.idxpd-hero h1 {
		font-size: 1.05rem;
	}

	.idxpd-section h2,
	.idxpd-cta h2 {
		font-size: 1.2rem;
	}

	.idxpd-faq summary {
		font-size: 0.95rem;
	}

	.idxpd-page .idxpd-actions .btn {
		width: 100%;
		text-align: center;
	}
}

/* 1.8.510 — Legal links (Terms, Privacy, DPA). Pricing line on mist; CTA row on navy. */
.idxpd-legal--pricing,
.idxpd-compare p.idxpd-legal--pricing {
	margin: 16px 0 0;
	font-family: var(--font-body);
	font-size: 0.85rem;
	line-height: 1.6;
	color: var(--idxpd-muted);
	text-align: center;
}

.idxpd-page .idxpd .idxpd-legal--pricing a {
	color: var(--idxpd-navy);
	font-weight: 600;
	text-decoration: underline;
	text-decoration-color: var(--idxpd-yellow);
	text-decoration-thickness: 2px;
	text-underline-offset: 3px;
}

.idxpd-page .idxpd .idxpd-legal--pricing a:hover {
	color: var(--idxpd-gold);
}

.idxpd-legal--pricing a + a {
	margin-left: 0;
}

.idxpd-legal--cta {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px 22px;
	margin: 28px 0 0;
	font-family: var(--font-body);
	font-size: 0.82rem;
	letter-spacing: 0.02em;
}

.idxpd-legal--cta a + a {
	margin-left: 0;
}

.idxpd-page .idxpd .idxpd-legal--cta a {
	color: #b7bbd6;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.idxpd-page .idxpd .idxpd-legal--cta a:hover {
	color: var(--idxpd-yellow);
}
