/* ==========================================================================
   Certified Bling — Home / FAQ (Phase 5)
   Five questions on the same near-black canvas as Create Custom. Split:
   heading + CTA left (~38%), a native <details> accordion right (~62%).
   Minimal, calm, editorial — hairlines only, no boxes.
   ========================================================================== */

.home-faq {
	background: var(--cb-black);
	color: var(--cb-white);
}
/* Own the vertical rhythm (beats the same-ground seam collapse). */
.cb-section.home-faq {
	padding-block: clamp(4rem, 2.5rem + 5vw, 7rem);
}

/* --- Split shell ------------------------------------------------- */

.home-faq__inner {
	display: grid;
	grid-template-columns: 1fr;
	grid-template-areas:
		"lead"
		"list"
		"cta";
	gap: clamp(2rem, 1.4rem + 2vw, 3rem);
}
.home-faq__lead { grid-area: lead; }
.home-faq__list { grid-area: list; }
.home-faq__cta  { grid-area: cta; }

@media (min-width: 1024px) {
	.home-faq__inner {
		grid-template-columns: 38fr 62fr;
		grid-template-areas:
			"lead list"
			"cta  list";
		column-gap: clamp(3rem, 1rem + 6vw, 7rem);
		row-gap: var(--cb-space-l);
		align-items: start;
	}
}

/* --- Left: heading + CTA ------------------------------------- */

.home-faq__eyebrow {
	color: var(--cb-mute);
	margin-bottom: var(--cb-space-m);
}

.home-faq__title {
	margin: 0;
	font-size: clamp(2.1rem, 0.9rem + 3.1vw, 3.5rem);
	line-height: 0.98;
	letter-spacing: -0.03em;
	color: var(--cb-white);
}
.home-faq__title span {
	display: block;
	white-space: nowrap;
}

.home-faq__cta {
	justify-self: start;
	align-self: start;
	font-family: var(--cb-font-mono);
	font-size: var(--cb-text-2xs);
	text-transform: uppercase;
	letter-spacing: 0.14em;
	color: var(--cb-white);
	white-space: nowrap;
	padding-bottom: 0.2rem;
	border-bottom: 1px solid var(--cb-white);
	transition: opacity var(--cb-transition);
}
.home-faq__cta:hover { opacity: 0.55; text-decoration: none; }
.home-faq__cta span { margin-left: 0.5em; }

/* --- Right: accordion -------------------------------------- */

.home-faq__list {
	border-bottom: 1px solid var(--cb-line-soft);
}

.home-faq__item {
	border-top: 1px solid var(--cb-line-soft);
}

.home-faq__q {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--cb-space-m);
	padding: clamp(0.9rem, 0.7rem + 0.6vw, 1.25rem) 0;
	cursor: pointer;
	list-style: none;
	color: var(--cb-white);
}
.home-faq__q::-webkit-details-marker { display: none; }
.home-faq__q:focus-visible {
	outline: 2px solid var(--cb-white);
	outline-offset: 3px;
}

.home-faq__q-text {
	font-family: var(--cb-font-body);
	font-weight: 500;
	font-size: var(--cb-text-sm);
	text-transform: uppercase;
	letter-spacing: 0.03em;
	line-height: 1.35;
}

/* + / − marker, drawn as two hairline bars; the vertical bar collapses on open */
.home-faq__marker {
	position: relative;
	flex: none;
	width: 12px;
	height: 12px;
}
.home-faq__marker::before,
.home-faq__marker::after {
	content: "";
	position: absolute;
	background: currentColor;
}
.home-faq__marker::before {
	top: 50%;
	left: 0;
	width: 12px;
	height: 1px;
	transform: translateY(-50%);
}
.home-faq__marker::after {
	left: 50%;
	top: 0;
	width: 1px;
	height: 12px;
	transform: translateX(-50%);
	transition: transform 220ms ease, opacity 220ms ease;
}
.home-faq__item[open] .home-faq__marker::after {
	transform: translateX(-50%) scaleY(0);
	opacity: 0;
}

.home-faq__a {
	padding-bottom: clamp(1rem, 0.7rem + 0.8vw, 1.5rem);
	max-width: 52ch;
}
.home-faq__a p {
	margin: 0;
	color: var(--cb-mute);
	font-size: var(--cb-text-sm);
	line-height: 1.65;
}

/* Restrained reveal — the answer fades in as the row opens. */
@media (prefers-reduced-motion: no-preference) {
	.home-faq__item[open] .home-faq__a {
		animation: cb-faq-reveal 240ms cubic-bezier(0.16, 1, 0.3, 1);
	}
}
@keyframes cb-faq-reveal {
	from { opacity: 0; transform: translateY(-4px); }
}
