/**
 * VL 17 — Highway Certified landing page and trust badge.
 *
 * Everything is scoped under .vl17-hc / .vl17-hc-badge so the theme is never
 * touched.
 *
 * Type matches the theme's own baseline rather than inventing one: Roboto for
 * body copy (what `body.body-default-font` sets) and Poppins for headings,
 * buttons and labels (what `.heading-default-font h1–h6` and `.btn` set).
 * Weights follow suit — 700 on headings, not 800, and no negative tracking.
 * Both faces are already loaded by the site, so this adds no font request.
 *
 * Colour discipline: VL 17 red is for actions, charcoal and ink for surfaces,
 * and Highway yellow appears ONLY where certification is being asserted. That
 * restraint is what keeps a borrowed brand colour from taking over the page.
 */

.vl17-hc {
	--hc-red: #ec1c24;
	--hc-red-dark: #c4141b;
	--hc-ink: #11162a;
	--hc-charcoal: #444243;
	--hc-yellow: #fdb901;
	--hc-cream: #ffe8b0;
	--hc-paper: #f4f4f6;
	--hc-line: #dedee2;
	--hc-body: #3f4046;
	--hc-body-invert: rgba(255, 255, 255, 0.82);

	--hc-wrap: 1140px;
	--hc-gap: clamp(1.5rem, 4vw, 3.5rem);

	font-family: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	color: var(--hc-body);
	line-height: 1.65;
	text-align: left;
}

.vl17-hc *,
.vl17-hc *::before,
.vl17-hc *::after {
	box-sizing: border-box;
}

/* -------------------------------------------------------------------------
   Bands
   The theme wraps page content in a fixed-width container, so full-bleed
   backgrounds have to break out of it. Paddings are mirrored so the inner
   content stays aligned with the rest of the site.

   Note this relies on the theme's own `body { overflow-x: hidden }`, which is
   what stops the viewport-width maths from producing a horizontal scrollbar
   once a vertical scrollbar is present. Do not add an overflow rule to
   .vl17-hc itself: it would become the clipping context and swallow the bleed.
   ---------------------------------------------------------------------- */

.vl17-hc__band {
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	padding-left: calc(50vw - 50%);
	padding-right: calc(50vw - 50%);
}

.vl17-hc__band--ink {
	background: var(--hc-ink);
	color: var(--hc-body-invert);
}

.vl17-hc__band--paper {
	background: var(--hc-paper);
}

.vl17-hc__section {
	max-width: var(--hc-wrap);
	margin: 0 auto;
	padding: clamp(3rem, 7vw, 5.5rem) 0;
}

/* -------------------------------------------------------------------------
   Type
   ---------------------------------------------------------------------- */

.vl17-hc__eyebrow {
	margin: 0 0 1.25rem;
	font-family: "Poppins", sans-serif;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--hc-yellow);
}

.vl17-hc__h1 {
	margin: 0 0 1.25rem;
	font-family: "Poppins", sans-serif;
	font-size: clamp(2rem, 4.4vw, 3.25rem);
	font-weight: 700;
	line-height: 1.12;
	color: #fff;
	text-transform: none;
}

.vl17-hc__h2 {
	margin: 0 0 1.25rem;
	font-family: "Poppins", sans-serif;
	font-size: clamp(1.5rem, 2.8vw, 2.25rem);
	font-weight: 700;
	line-height: 1.2;
	color: var(--hc-ink);
	text-transform: none;
}

.vl17-hc__band--ink .vl17-hc__h2 {
	color: #fff;
}

.vl17-hc__h3 {
	margin: 0 0 0.5rem;
	font-family: "Poppins", sans-serif;
	font-size: 1.0625rem;
	font-weight: 700;
	line-height: 1.35;
	color: var(--hc-ink);
	text-transform: none;
}

.vl17-hc__lead {
	margin: 0 0 2rem;
	font-size: clamp(1rem, 1.35vw, 1.125rem);
	line-height: 1.6;
	max-width: 34em;
}

.vl17-hc__section-lead {
	margin: -0.5rem 0 2.5rem;
	max-width: 46em;
	font-size: 1.0625rem;
}

.vl17-hc__prose {
	max-width: 40em;
}

.vl17-hc__prose p {
	margin: 0 0 1.15rem;
	font-size: 1.0625rem;
}

.vl17-hc__prose p:last-child {
	margin-bottom: 0;
}

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

.vl17-hc__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin: 0;
}

.vl17-hc__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.9rem 1.75rem;
	border: 2px solid var(--hc-red);
	border-radius: 3px;
	background: var(--hc-red);
	color: #fff;
	font-family: "Poppins", sans-serif;
	font-size: 0.9375rem;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.vl17-hc__btn:hover,
.vl17-hc__btn:focus {
	background: var(--hc-red-dark);
	border-color: var(--hc-red-dark);
	color: #fff;
	text-decoration: none;
}

.vl17-hc__btn--ghost {
	background: transparent;
	border-color: rgba(255, 255, 255, 0.45);
	color: #fff;
}

.vl17-hc__btn--ghost:hover,
.vl17-hc__btn--ghost:focus {
	background: rgba(255, 255, 255, 0.1);
	border-color: #fff;
	color: #fff;
}

.vl17-hc a:focus-visible,
.vl17-hc-badge a:focus-visible,
.vl17-hc summary:focus-visible {
	outline: 3px solid var(--hc-yellow);
	outline-offset: 3px;
}

/* -------------------------------------------------------------------------
   Hero
   ---------------------------------------------------------------------- */

.vl17-hc__hero {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	gap: var(--hc-gap);
	align-items: center;
	max-width: var(--hc-wrap);
	margin: 0 auto;
	padding: clamp(3rem, 7vw, 5.5rem) 0;
}

.vl17-hc__hero-aside {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 1.5rem;
}

.vl17-hc__badge-img {
	display: block;
	width: 300px;
	max-width: 100%;
	height: auto;
}

.vl17-hc__hero-badge {
	width: 260px;
}

/* -------------------------------------------------------------------------
   Verification readout — the signature element.
   Styled as the compliance panel a broker actually looks at, which is what
   the whole page is about.
   ---------------------------------------------------------------------- */

.vl17-hc__readout {
	width: 100%;
	margin: 0;
	padding: 1.5rem 1.5rem 1.25rem;
	border: 1px solid rgba(253, 185, 1, 0.35);
	border-left: 4px solid var(--hc-yellow);
	border-radius: 6px;
	background: rgba(255, 255, 255, 0.04);
}

.vl17-hc__readout-title {
	margin: 0 0 1rem;
	font-family: "Poppins", sans-serif;
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--hc-cream);
}

.vl17-hc__readout-list {
	margin: 0;
	padding: 0;
}

.vl17-hc__readout-row {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.6rem 0;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.vl17-hc__readout-row:first-child {
	border-top: 0;
	padding-top: 0;
}

.vl17-hc__readout-row dt {
	margin: 0;
	font-size: 0.875rem;
	font-weight: 400;
	color: rgba(255, 255, 255, 0.7);
}

.vl17-hc__readout-row dd {
	margin: 0;
	font-family: "Poppins", sans-serif;
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	text-align: right;
	color: var(--hc-yellow);
	white-space: nowrap;
}

.vl17-hc__readout-row dd::before {
	content: "\2713";
	margin-right: 0.4rem;
	font-weight: 700;
}

.vl17-hc__readout-note {
	margin: 1rem 0 0;
	padding-top: 0.9rem;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	font-size: 0.8125rem;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.55);
}

/* -------------------------------------------------------------------------
   Commitments — a numbered standard, so the numbers carry meaning.
   ---------------------------------------------------------------------- */

.vl17-hc__commitments {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: none;
}

.vl17-hc__commitment {
	position: relative;
	padding: 2.25rem 1.5rem 1.75rem;
	border: 1px solid var(--hc-line);
	border-top: 3px solid var(--hc-yellow);
	border-radius: 6px;
	background: #fff;
	list-style: none;
}

.vl17-hc__commitment::marker {
	content: "";
}

.vl17-hc__commitment-num {
	position: absolute;
	top: 0.9rem;
	right: 1.25rem;
	font-family: "Poppins", sans-serif;
	font-size: 0.875rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	color: var(--hc-yellow);
}

.vl17-hc__commitment p {
	margin: 0;
	font-size: 0.9375rem;
	line-height: 1.6;
}

/* -------------------------------------------------------------------------
   Benefits
   ---------------------------------------------------------------------- */

.vl17-hc__benefits {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.5rem 2.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.vl17-hc__benefit {
	padding-left: 1.25rem;
	border-left: 3px solid var(--hc-red);
	list-style: none;
}

.vl17-hc__benefit p {
	margin: 0;
	font-size: 0.9375rem;
}

/* -------------------------------------------------------------------------
   FAQ — native disclosure widgets: keyboard accessible, no JavaScript.
   ---------------------------------------------------------------------- */

.vl17-hc__faq {
	max-width: 46em;
	border-top: 1px solid var(--hc-line);
}

.vl17-hc__faq-item {
	border-bottom: 1px solid var(--hc-line);
}

.vl17-hc__faq-q {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1rem;
	padding: 1.1rem 0;
	cursor: pointer;
	font-family: "Poppins", sans-serif;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.4;
	color: var(--hc-ink);
	list-style: none;
}

.vl17-hc__faq-q::-webkit-details-marker {
	display: none;
}

.vl17-hc__faq-q::after {
	content: "+";
	flex: none;
	font-size: 1.4rem;
	font-weight: 400;
	line-height: 1;
	color: var(--hc-red);
	transition: transform 0.2s ease;
}

.vl17-hc__faq-item[open] .vl17-hc__faq-q::after {
	content: "\2212";
}

.vl17-hc__faq-a {
	margin: 0;
	padding: 0 0 1.35rem;
	max-width: 42em;
	font-size: 0.9375rem;
}

/* -------------------------------------------------------------------------
   Closing call to action
   ---------------------------------------------------------------------- */

.vl17-hc__band--cta {
	background: var(--hc-charcoal);
}

.vl17-hc__cta .vl17-hc__lead {
	margin-bottom: 1.75rem;
}

.vl17-hc__hours {
	margin: 1.25rem 0 0;
	font-size: 0.8125rem;
	color: rgba(255, 255, 255, 0.55);
}

/* -------------------------------------------------------------------------
   Trust badge
   ---------------------------------------------------------------------- */

.vl17-hc-badge {
	--hc-red: #ec1c24;
	--hc-ink: #11162a;
	--hc-yellow: #fdb901;

	display: block;
	font-family: "Roboto", sans-serif;
	text-align: left;
}

.vl17-hc-badge__inner {
	display: flex;
	align-items: center;
	gap: clamp(1rem, 3vw, 2rem);
	max-width: 1140px;
	margin: 0 auto;
}

.vl17-hc-badge__figure {
	flex: none;
	display: block;
	line-height: 0;
}

.vl17-hc-badge__headline {
	margin: 0 0 0.35rem;
	font-family: "Poppins", sans-serif;
	font-size: 1.0625rem;
	font-weight: 700;
	line-height: 1.35;
	color: #fff;
}

.vl17-hc-badge__body {
	margin: 0 0 0.6rem;
	font-size: 0.9375rem;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.72);
	max-width: 46em;
}

.vl17-hc-badge__link {
	display: inline-block;
	font-size: 0.875rem;
	font-weight: 700;
	color: var(--hc-yellow);
	text-decoration: none;
	border-bottom: 1px solid rgba(253, 185, 1, 0.4);
}

.vl17-hc-badge__link:hover,
.vl17-hc-badge__link:focus {
	color: #fff;
	border-bottom-color: #fff;
	text-decoration: none;
}

/* Home page: the larger block.
   Bled to full width so it reads as a section of the page rather than a card
   dropped into the content column. Same caveat as the landing bands: this
   leans on the theme's `body { overflow-x: hidden }`. */
.vl17-hc-badge--block {
	background: var(--hc-ink);
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	padding: clamp(2rem, 5vw, 3rem) calc(50vw - 50% + 1rem);
}

.vl17-hc-badge--block .vl17-hc-badge__figure .vl17-hc__badge-img {
	width: 300px;
}

/* Everywhere else: the slim band above the theme footer. */
.vl17-hc-badge--band {
	background: var(--hc-charcoal, #444243);
	padding: 1.25rem clamp(1.25rem, 5vw, 3rem);
	border-top: 3px solid var(--hc-yellow);
}

.vl17-hc-badge--band .vl17-hc-badge__figure .vl17-hc__badge-img {
	width: 190px;
}

.vl17-hc-badge--band .vl17-hc-badge__headline {
	font-size: 0.9375rem;
	margin-bottom: 0.2rem;
}

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

@media (max-width: 1024px) {

	.vl17-hc__commitments {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 860px) {

	.vl17-hc__hero {
		grid-template-columns: 1fr;
		gap: 2.5rem;
	}

	.vl17-hc__benefits {
		grid-template-columns: 1fr;
	}

	.vl17-hc-badge__inner {
		flex-direction: column;
		align-items: flex-start;
		gap: 1rem;
	}

	.vl17-hc__readout-row {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.15rem;
	}

	.vl17-hc__readout-row dd {
		text-align: left;
	}
}

@media (prefers-reduced-motion: reduce) {

	.vl17-hc *,
	.vl17-hc-badge * {
		transition: none !important;
	}
}
