/* ==========================================================================
   FAQ page. Questions are core Details blocks inside .faq-body.
   ========================================================================== */

.faq-head .lede { margin-top: .6rem; }

.faq-layout {
	display: grid; grid-template-columns: minmax(0, 1fr) 300px;
	gap: clamp(24px, 4vw, 56px); align-items: start;
	padding-bottom: clamp(40px, 6vw, 80px);
}
@media (max-width: 900px) { .faq-layout { grid-template-columns: 1fr; } }

/* Group headings */
.faq-body h2 {
	display: flex; align-items: center; gap: .5em;
	margin: clamp(32px, 4vw, 48px) 0 14px;
	font-family: var(--font-display); font-weight: 400; text-transform: uppercase;
	font-size: clamp(1.7rem, 3.4vw, 2.3rem); letter-spacing: .01em;
}
.faq-body h2:first-child { margin-top: 0; }
.faq-body h2::before { content: ""; flex: none; width: 26px; height: 12px; border-radius: 3px; background: var(--calvert); }
.faq-body h2:nth-of-type(even)::before { background: var(--crossland); }

/* Accordions */
.faq-body details {
	margin: 0 0 10px;
	background: var(--white);
	border: 2px solid var(--ink); border-radius: var(--radius);
	transition: box-shadow .15s, transform .15s;
}
.faq-body details[open] { box-shadow: 0 4px 0 0 var(--ink); }
.faq-body summary {
	position: relative;
	display: block; list-style: none; cursor: pointer;
	padding: 18px 60px 18px 20px;
	font-weight: 700; font-size: 1.08rem; line-height: 1.35;
	border-radius: calc(var(--radius) - 2px);
}
.faq-body summary::-webkit-details-marker { display: none; }
.faq-body summary:hover { background: #fff8e3; }
.faq-body summary::after {
	content: "+";
	position: absolute; right: 16px; top: 50%; translate: 0 -50%;
	display: grid; place-items: center; width: 30px; height: 30px;
	border-radius: 50%; background: var(--kraft);
	font-size: 1.3rem; font-weight: 700; line-height: 1;
	transition: transform .2s, background-color .2s, color .2s;
}
.faq-body details[open] summary::after { content: "–"; background: var(--red); color: var(--white); }
.faq-body details > :not(summary) { margin: 0; padding: 0 20px; color: var(--ink-2); }
.faq-body details > :not(summary):first-of-type { padding-top: 2px; }
.faq-body details > :not(summary):last-child { padding-bottom: 20px; }
.faq-body details p + p { margin-top: .9em; }
.faq-body a { color: var(--red); font-weight: 600; }

/* Sidebar */
.faq-aside { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 16px; }
@media (max-width: 900px) { .faq-aside { position: static; } }
.faq-help {
	padding: 22px; background: var(--ink); color: var(--white);
	border-radius: var(--radius-lg); box-shadow: 0 0 0 3px var(--gold);
}
.faq-help h2 { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: 1.6rem; margin-bottom: .3em; }
.faq-help p { color: #d9d2c5; font-size: .96rem; }
.faq-help .btn { box-shadow: none; }
.faq-contact { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 6px; font-size: .95rem; }
.faq-contact a { color: var(--white); text-decoration: none; }
.faq-contact a:hover { color: var(--gold); }
.faq-build {
	display: grid; gap: 4px; padding: 20px 22px;
	background: var(--gold); border: 2px solid var(--ink); border-radius: var(--radius-lg);
	box-shadow: 0 5px 0 0 var(--ink); text-decoration: none; font-weight: 700;
	transition: transform .15s, box-shadow .15s;
}
.faq-build .display { font-size: 1.5rem; }
.faq-build:hover { color: var(--ink); transform: translateY(-2px); box-shadow: 0 7px 0 0 var(--ink); }

/* Ask form */
.faq-ask { background: var(--kraft); border-top: 3px solid var(--ink); }
.faq-ask-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(24px, 5vw, 64px); align-items: start; }
@media (max-width: 860px) { .faq-ask-grid { grid-template-columns: 1fr; } }
.faq-ask-grid > div:first-child p:last-child { color: var(--ink-2); font-size: 1.08rem; }
