/**
 * DriveReady home page (photo design) — scoped styles.
 * Every selector is prefixed for this template only (.drh / .drh-*), so
 * nothing here leaks into the rest of the theme. Design tokens follow
 * the supplied brand-tokens.css / layout.json.
 */
:root {
	--drh-navy: #12213A;
	--drh-blue: #2563EB;
	--drh-blue-dark: #1D4FD7;
	--drh-green: #22A06B;
	--drh-green-dark: #0E7A4B;
	--drh-muted: #526581;
	--drh-border: #D7E2EF;
	--drh-pale: #EFF6FF;
	--drh-radius: 16px;
	--drh-shadow: 0 8px 24px rgb(18 33 58 / 9%);
}
body.drh-page { background: #EDF4FD; }
.drh, .drh-header, .drh-footer { color: var(--drh-navy); font-family: Inter, Arial, sans-serif; }
.drh h1, .drh h2, .drh h3, .drh-footer h2 { color: var(--drh-navy); letter-spacing: -0.01em; }
.drh-container { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: 20px; }
@media (min-width: 1024px) { .drh-container { padding-inline: 48px; } }

.drh-skip { position: absolute; left: -9999px; top: 0; background: var(--drh-navy); color: #fff; padding: 10px 16px; z-index: 100; border-radius: 0 0 10px 0; }
.drh-skip:focus { left: 0; }
.drh a:focus-visible, .drh button:focus-visible, .drh select:focus-visible,
.drh-header a:focus-visible, .drh-header button:focus-visible,
.drh-footer a:focus-visible, .drh input:focus-visible {
	outline: 3px solid rgb(37 99 235 / 45%); outline-offset: 2px;
}
.drh-icon { flex: none; vertical-align: middle; }

/* ---------- Buttons ---------- */
.drh-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 48px; padding: 12px 26px; border-radius: 10px; border: 1.5px solid transparent;
	font-size: 16px; font-weight: 700; line-height: 1.2; text-decoration: none; cursor: pointer;
	transition: background .15s ease, border-color .15s ease; }
.drh-btn--primary { background: var(--drh-blue); color: #fff; }
.drh-btn--primary:hover { background: var(--drh-blue-dark); color: #fff; }
.drh-btn--soft { background: #DCE9FD; color: var(--drh-navy); width: 100%; }
.drh-btn--soft:hover { background: #CBDEFC; color: var(--drh-navy); }
.drh-btn--outline { background: #fff; border-color: var(--drh-blue); color: var(--drh-blue); }
.drh-btn--outline:hover { background: var(--drh-pale); color: var(--drh-blue-dark); }

/* ---------- Header ---------- */
.drh-header { background: #fff; border-bottom: 1px solid #E3EBF5; position: sticky; top: 0; z-index: 50; }
.drh-header__in { display: flex; align-items: center; gap: 28px; min-height: 72px; }
.drh-logo img { height: 56px; width: auto; display: block; }
.drh-nav { display: none; gap: 34px; margin-inline-start: 12px; }
.drh-nav a { color: var(--drh-navy); font-weight: 600; font-size: 15.5px; text-decoration: none; }
.drh-nav a:hover { color: var(--drh-blue); }
.drh-nav ul { display: flex; gap: 34px; list-style: none; margin: 0; padding: 0; }
.drh-nav li { margin: 0; }
.drh-mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.drh-mobile-menu li:first-child a { border-top: 0; }
.drh-header__actions { margin-inline-start: auto; display: flex; align-items: center; gap: 14px; }
.drh-signin { display: none; min-height: 44px; align-items: center; padding: 9px 18px;
	border: 1.5px solid #C9D6E8; border-radius: 10px; color: var(--drh-navy);
	font-weight: 600; font-size: 15px; text-decoration: none; background: #fff; }
.drh-signin:hover { border-color: var(--drh-blue); color: var(--drh-blue); }
.drh-header__cta { display: none; min-height: 44px; padding: 10px 20px; font-size: 15px; }
.drh-burger { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px;
	background: none; border: 0; color: var(--drh-navy); cursor: pointer; border-radius: 10px; }
.drh-mobile-menu { position: absolute; top: 100%; inset-inline: 0; background: #fff;
	border-bottom: 1px solid var(--drh-border); box-shadow: 0 18px 30px rgb(18 33 58 / 12%);
	padding: 8px 20px 14px; }
.drh-mobile-menu a { display: block; padding: 13px 4px; color: var(--drh-navy); font-weight: 600;
	font-size: 16px; text-decoration: none; border-top: 1px solid #EDF2F9; }
.drh-mobile-menu a:first-child { border-top: 0; }
@media (min-width: 1100px) {
	.drh-nav { display: flex; }
	.drh-signin { display: inline-flex; }
	.drh-header__cta { display: inline-flex; }
	.drh-burger, .drh-mobile-menu { display: none !important; }
}

/* ---------- Hero ---------- */
.drh-hero { background: #fff; position: relative; overflow: hidden; padding: 34px 0 40px; }
.drh-hero__road { position: absolute; top: -6px; inset-inline-end: 0; width: min(520px, 62%);
	height: auto; pointer-events: none; }
.drh-hero__grid { position: relative; display: grid; grid-template-columns: 1fr; gap: 0; }
.drh-eyebrow { display: inline-block; background: #DFF6E6; color: var(--drh-green-dark);
	font-size: 13px; font-weight: 800; letter-spacing: .06em; padding: 7px 14px; border-radius: 999px; margin: 0 0 18px; }
.drh-h1 { font-size: clamp(36px, 6.4vw, 54px); font-weight: 800; line-height: 1.07; margin: 0; }
.drh-h1 span { color: var(--drh-blue); }
.drh-hero__sub { font-size: 18px; color: var(--drh-muted); margin: 16px 0 0; line-height: 1.45; }
.drh-hero__media { margin-top: 24px; }
.drh-hero__media picture, .drh-study picture { display: block; }
.drh-hero__media img { display: block; width: 100%; height: auto; aspect-ratio: 688 / 255;
	object-fit: cover; border-radius: 24px; box-shadow: var(--drh-shadow); }
.drh-hero__actions { margin-top: 22px; }
@media (min-width: 1024px) {
	.drh-hero { padding: 44px 0 52px; }
	.drh-hero__grid { grid-template-columns: 1fr 1.02fr; column-gap: 54px;
		grid-template-areas: "text media" "actions media"; }
	.drh-hero__text { grid-area: text; }
	.drh-hero__media { grid-area: media; margin-top: 6px; }
	.drh-hero__media img { aspect-ratio: 531 / 280; }
	.drh-hero__actions { grid-area: actions; margin-top: 26px; }
}

/* State picker (plugin shortcode, restyled to the design) */
.drh-picker .state-picker { display: flex; flex-direction: column; gap: 12px; margin: 0; }
.drh-picker .state-picker > div { position: relative; }
.drh-picker .state-picker label { position: absolute; width: 1px; height: 1px; overflow: hidden;
	clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.drh-picker .state-picker select { width: 100%; height: 54px; appearance: none; -webkit-appearance: none;
	border: 1.5px solid #C9D8EE; border-radius: 10px; background-color: #fff;
	padding-inline: 46px 42px; font-size: 16px; font-weight: 600; color: var(--drh-navy); cursor: pointer;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2322A06B'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5.2 7 13 7 13s7-7.8 7-13a7 7 0 0 0-7-7Zm0 9.5A2.5 2.5 0 1 1 12 6a2.5 2.5 0 0 1 0 5.5Z'/%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2312213A' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat, no-repeat; background-size: 22px, 20px;
	background-position: left 14px center, right 14px center; }
.drh .drh-picker form.state-picker button.btn { width: 100%; height: 54px; border-radius: 10px;
	background: var(--drh-blue); border: 1.5px solid var(--drh-blue); color: #fff;
	font-size: 16.5px; font-weight: 700; cursor: pointer; }
.drh .drh-picker form.state-picker button.btn:hover { background: var(--drh-blue-dark); }
.drh .drh-picker form.state-picker button.btn::after { content: "\2192"; margin-inline-start: 9px; font-weight: 700; }
.drh-hero__premium { margin-top: 12px; height: 54px; }

/* Benefits row */
.drh-benefits { display: flex; justify-content: space-between; gap: 10px; list-style: none;
	margin: 24px 0 0; padding: 0; }
.drh-benefits li { display: flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 600;
	line-height: 1.25; color: var(--drh-navy); }
.drh-benefits li + li { border-inline-start: 1px solid var(--drh-border); padding-inline-start: 14px; }
.drh-benefits .drh-icon { color: var(--drh-green); width: 27px; height: 27px; }
@media (max-width: 400px) { .drh-benefits li { font-size: 13px; } .drh-benefits li + li { padding-inline-start: 9px; } }

/* ---------- Mid: journey / study / features ---------- */
.drh-mid { padding: 30px 0 4px; }
.drh-mid__grid { display: flex; flex-direction: column; }
.drh-journey { order: 1; background: #fff; border: 1px solid #DCE6F2; border-radius: 18px;
	box-shadow: var(--drh-shadow); padding: 24px 22px; }
.drh-features { order: 2; margin-top: 34px; }
.drh-study { order: 3; margin-top: 22px; }
@media (min-width: 1024px) {
	.drh-mid__grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 28px;
		grid-template-areas: "journey study" "features features"; }
	.drh-journey { grid-area: journey; }
	.drh-study { grid-area: study; margin-top: 0; }
	.drh-features { grid-area: features; }
}
.drh-h2 { font-size: clamp(24px, 3.4vw, 30px); font-weight: 800; line-height: 1.15; margin: 0; }
.drh-journey__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.drh-badge { background: #DCE9FD; color: var(--drh-blue); font-size: 12.5px; font-weight: 700;
	padding: 5px 12px; border-radius: 999px; white-space: nowrap; }
.drh-journey__body { display: flex; align-items: center; gap: 24px; margin-top: 18px; }
.drh-ring { position: relative; width: 128px; flex: none; text-align: center; }
.drh-ring svg { display: block; }
.drh-ring__num { position: absolute; top: 64px; left: 50%; transform: translate(-50%, -50%);
	font-size: 27px; font-weight: 800; }
.drh-ring__label { display: block; margin-top: 4px; font-size: 13px; color: var(--drh-muted); }
.drh-bars { flex: 1; display: flex; flex-direction: column; gap: 15px; min-width: 0; }
.drh-bar { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "name pct" "track track"; row-gap: 5px; }
.drh-bar__name { grid-area: name; font-size: 14.5px; font-weight: 700; }
.drh-bar__pct { grid-area: pct; font-size: 14px; font-weight: 700; }
.drh-bar__track { grid-area: track; height: 10px; background: #E1EAF6; border-radius: 999px; overflow: hidden; }
.drh-bar__fill { display: block; height: 100%; background: var(--drh-green); border-radius: 999px; }
.drh-journey__msg { display: flex; align-items: center; gap: 10px; margin: 20px 0 0;
	background: #E2F7EA; border-radius: 10px; padding: 12px 16px;
	color: var(--drh-green-dark); font-weight: 700; font-size: 15.5px; }
.drh-journey__msg .drh-icon { background: var(--drh-green); color: #fff; border-radius: 6px;
	padding: 3px; width: 24px; height: 24px; box-sizing: border-box; }
.drh-study img { display: block; width: 100%; height: 100%; aspect-ratio: 686 / 196;
	object-fit: cover; border-radius: 24px; box-shadow: var(--drh-shadow); }
@media (min-width: 1024px) { .drh-study img { aspect-ratio: 494 / 222; } }
@media (max-width: 480px) { .drh-journey__body { gap: 16px; } .drh-ring { width: 108px; } .drh-ring svg { width: 108px; height: 108px; } .drh-ring__num { top: 54px; font-size: 23px; } }

.drh-features__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 20px; }
@media (min-width: 1024px) { .drh-features__grid { grid-template-columns: repeat(4, 1fr); gap: 20px; } }
.drh-feature { display: flex; align-items: center; gap: 13px; background: #fff;
	border: 1px solid #DCE6F2; border-radius: var(--drh-radius); box-shadow: var(--drh-shadow); padding: 14px; }
.drh-feature__art { flex: none; display: flex; align-items: center; justify-content: center;
	background: #F0F5FD; border-radius: 12px; padding: 6px; }
.drh-feature__art img { display: block; width: auto; height: auto; max-width: 96px; max-height: 62px; }
@media (min-width: 1024px) { .drh-feature__art img { max-width: 112px; max-height: 78px; } }
.drh-feature__text h3 { font-size: 16.5px; font-weight: 800; margin: 0 0 3px; }
.drh-feature__text p { font-size: 13.5px; color: var(--drh-muted); margin: 0; line-height: 1.35; }
@media (max-width: 560px) {
	/* Keep the required 2-column mobile grid, but stack art above text
	   inside each card so titles stay readable on real phones. */
	.drh-feature { flex-direction: column; text-align: center; gap: 8px; padding: 12px 10px; }
	.drh-feature__text h3 { font-size: 15px; }
	.drh-feature__art img { max-width: 84px; max-height: 58px; }
}

/* ---------- Try a question (live sample quiz, mockup card) ---------- */
.drh-try { padding: 34px 0 4px; }
.drh-try .drh-container { max-width: 1100px; }
.drh-try__sub { font-size: clamp(20px, 2.6vw, 27px); font-weight: 700; line-height: 1.25; margin: 10px 0 0; }
.drh-try__card { background: #fff; border: 1px solid #DCE6F2; border-radius: 24px;
	padding: 20px; margin-top: 24px; }
@media (min-width: 768px) { .drh-try__card { padding: 32px; } }
.drh-try__note { text-align: center; color: var(--drh-muted); font-size: 15px; margin: 18px 0 0; }

/* Quiz mount laid out as the mockup card. Rows are pinned so the
   order holds in both layouts: meta / segments / question / helper /
   photo / answers / feedback / actions. The native progress bar is
   replaced by segments once the theme script enhances the card. */
.drh-try .quiz-card { background: transparent; border: 0; box-shadow: none; padding: 0;
	display: grid; grid-template-columns: 1fr; }
.drh-try__card.drh-enhanced .progress { display: none; }
.drh-try .quiz-card__meta { grid-row: 1; grid-column: 1; display: flex; align-items: center;
	justify-content: space-between; gap: 14px; font-size: 15.5px; font-weight: 500; color: #526581; }
.drh-badge-cat { display: inline-flex; align-items: center; gap: 7px; background: #DCF5E4;
	color: #0E7A4B; border-radius: 999px; padding: 7px 14px; font-size: 13px; font-weight: 800;
	letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; }
.drh-badge-cat__icon { flex: none; }
.drh-segs { grid-row: 2; grid-column: 1; display: flex; gap: 8px; margin-top: 16px;
	padding-bottom: 18px; border-bottom: 1px solid #E6EEF7; }
.drh-segs span { flex: 1; height: 9px; border-radius: 999px; background: #E1EAF6; }
.drh-segs span.is-on { background: var(--drh-blue); }
.drh-try .quiz-q { grid-row: 3; grid-column: 1; font-size: clamp(23px, 4.6vw, 32px);
	font-weight: 800; line-height: 1.22; margin: 20px 0 0; }
.drh-try__helper { grid-row: 4; grid-column: 1; color: var(--drh-muted); font-size: 16.5px; margin: 9px 0 0; }
.drh-try .quiz-card > img { grid-row: 5; grid-column: 1; width: 100%; height: auto;
	border-radius: 16px !important; margin: 18px 0 0 !important; }
.drh-try .answers { grid-row: 6; grid-column: 1; display: flex; flex-direction: column; gap: 11px; margin-top: 18px; }
.drh-try .answer-btn { display: flex; align-items: center; width: 100%; min-height: 52px;
	padding: 9px 16px 9px 15px; background: #fff; border: 1.5px solid var(--drh-border); border-radius: 12px;
	font-size: 16px; font-weight: 600; color: var(--drh-navy); cursor: pointer; text-align: start;
	font-family: inherit; flex-wrap: nowrap; }
.drh-try .answer-btn > span:last-child { min-width: 0; }
@media (min-width: 768px) {
	.drh-try .answer-btn { min-height: 60px; font-size: 18px; }
	.drh-try .answers { gap: 12px; }
}
/* Radio control drawn before the letter badge. */
.drh-try .answer-btn::before { content: ""; width: 22px; height: 22px; border-radius: 50%;
	border: 2px solid #B9C9DE; flex: none; background: #fff; }
.drh-try .answer-btn.is-selected::before { border-color: var(--drh-blue);
	background: radial-gradient(circle, var(--drh-blue) 0 5.5px, #fff 6.5px); }
.drh-try .answer-btn__letter { position: relative; display: inline-flex; align-items: center;
	justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: #E3EBF8;
	color: var(--drh-navy); font-size: 15px; font-weight: 700; flex: none; margin-inline: 15px 13px; }
/* Subtle vertical divider between the radio and the letter badge. */
.drh-try .answer-btn__letter::before { content: ""; position: absolute; inset-inline-start: -15px;
	top: 50%; transform: translateY(-50%); width: 1px; height: 30px; background: #D7E2EF; }
.drh-try .answer-btn:hover { border-color: #A9C3EC; }
.drh-try .answer-btn.is-selected { border-color: var(--drh-blue); background: #EFF5FF; }
.drh-try .answer-btn.is-correct { border-color: var(--drh-green); background: #E2F7EA; }
.drh-try .answer-btn.is-correct::before { border-color: var(--drh-green);
	background: radial-gradient(circle, var(--drh-green) 0 5.5px, #fff 6.5px); }
.drh-try .answer-btn.is-incorrect { border-color: #F0A8A8; background: #FDECEC; }
.drh-try .answer-btn.is-incorrect::before { border-color: #D64545;
	background: radial-gradient(circle, #D64545 0 5.5px, #fff 6.5px); }
.drh-try .feedback { grid-row: 7; grid-column: 1; display: none; margin-top: 14px;
	padding: 13px 15px; border-radius: 10px; font-size: 15.5px; line-height: 1.45;
	border: 1.5px solid transparent; }
.drh-try .feedback.is-show { display: block; }
.drh-try .feedback p { margin: 6px 0 0; font-weight: 500; }
.drh-try .feedback--ok { background: #E2F7EA; border-color: var(--drh-green); color: #0B6B41; }
.drh-try .feedback--bad { background: #FDECEC; border-color: #F0A8A8; color: #9B2226; }
.drh-try .quiz-actions { grid-row: 8; grid-column: 1; margin-top: 18px; }
.drh-try .quiz-actions .btn { width: 100%; min-height: 56px; border-radius: 12px; font-size: 17px; }
.drh-try .quiz-actions .btn--primary::after { content: "\2192"; margin-inline-start: 10px; font-weight: 700; font-size: 1.18em; vertical-align: -2px; }
.drh-try .quiz-actions .btn:disabled { opacity: .5; cursor: not-allowed; }
/* Desktop: photo column on the left, spanning question + answers;
   the button row spans the full card width below both columns. */
@media (min-width: 768px) {
	.drh-try .quiz-card:has(> img) { grid-template-columns: 46% 1fr; column-gap: 32px; }
	.drh-try .quiz-card:has(> img) > .quiz-card__meta,
	.drh-try .quiz-card:has(> img) > .drh-segs,
	.drh-try .quiz-card:has(> img) > .quiz-actions { grid-column: 1 / -1; }
	.drh-try .quiz-card:has(> img) > img { grid-column: 1; grid-row: 3 / span 4; align-self: stretch;
		height: auto; object-fit: cover; object-position: 95% center; margin: 20px 0 0 !important; }
	.drh-try .quiz-card:has(> img) > .quiz-q { grid-column: 2; }
	.drh-try .quiz-card:has(> img) > .drh-try__helper { grid-column: 2; }
	.drh-try .quiz-card:has(> img) > .answers { grid-column: 2; }
	.drh-try .quiz-card:has(> img) > .feedback { grid-column: 2; }
}

/* ---------- Plans ---------- */
.drh-plans { padding: 30px 0 4px; }
.drh-plans__grid { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 20px; }
@media (min-width: 1024px) { .drh-plans__grid { grid-template-columns: 1fr 1fr; gap: 22px; } }
.drh-plan { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
	background: #fff; border: 1px solid #DCE6F2; border-radius: var(--drh-radius);
	box-shadow: var(--drh-shadow); padding: 20px 22px; }
.drh-plan--premium { background: #F5F9FF; border-color: #B9D2F8; }
.drh-plan__main { display: flex; gap: 15px; align-items: flex-start; min-width: 0; }
.drh-plan__icon { flex: none; width: 56px; height: 56px; border-radius: 14px;
	display: flex; align-items: center; justify-content: center; }
.drh-plan__icon--green { background: #DFF6E6; color: #12805C; }
.drh-plan__icon--blue { background: #DCE9FD; color: var(--drh-blue); }
.drh-plan h3 { font-size: 20px; font-weight: 800; margin: 2px 0 3px; }
.drh-plan p { font-size: 14.5px; color: var(--drh-muted); margin: 0; }
.drh-plan__list { list-style: none; margin: 9px 0 0; padding: 0; display: flex; flex-direction: column; gap: 5px; }
.drh-plan__list li { display: flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 600; }
.drh-plan__list .drh-icon { color: var(--drh-green); }
.drh-plan .drh-btn { flex: none; min-height: 46px; padding: 10px 22px; }

/* ---------- FAQ ---------- */
.drh-faqsec { padding: 30px 0 46px; }
.drh-faq { margin-top: 20px; }
.drh-faq__item { background: #fff; border: 1px solid #DCE6F2; border-radius: 12px; margin-bottom: 12px; overflow: hidden; }
.drh-faq__q { margin: 0; }
.drh-faq__q button { display: flex; align-items: center; justify-content: space-between; gap: 12px;
	width: 100%; min-height: 56px; padding: 14px 18px; background: none; border: 0; cursor: pointer;
	font-size: 16px; font-weight: 700; color: var(--drh-navy); text-align: start; font-family: inherit; }
.drh-faq__q button .drh-icon { color: var(--drh-muted); transition: transform .18s ease; }
.drh-faq__q button[aria-expanded="true"] .drh-icon { transform: rotate(180deg); }
.drh-faq__a p { margin: 0; padding: 0 18px 17px; font-size: 15.5px; line-height: 1.6; color: var(--drh-muted); }

/* ---------- Footer ---------- */
.drh-footer { background: var(--drh-navy); position: relative; overflow: hidden; padding: 52px 0 96px; }
.drh-footer__in { position: relative; z-index: 1; text-align: center; }
.drh-footer__title { color: #fff !important; font-size: clamp(26px, 4.6vw, 34px); font-weight: 800; margin: 0; }
.drh-footer__btn { margin-top: 20px; padding: 13px 36px; }
.drh-footer__logo { display: inline-block; margin-top: 30px; }
.drh-footer__logo img { height: 50px; width: auto; display: block; }
.drh-footer__links { margin-top: 18px; display: flex; justify-content: center; align-items: center; gap: 12px; flex-wrap: wrap; }
.drh-footer__links a { color: #C9D6EA; text-decoration: none; font-size: 15px; font-weight: 500; }
.drh-footer__links a:hover { color: #fff; }
.drh-footer__links span { color: #5B7292; }
.drh-footer__legal { margin: 20px auto 0; max-width: 780px; color: #93A7C4; font-size: 13px; line-height: 1.65; }
.drh-footer__road { position: absolute; bottom: 0; inset-inline-end: 0; width: min(360px, 58%); line-height: 0; }
.drh-footer__road img { display: block; width: 100%; height: auto; }

/* Grid blowout guards (long words / fixed-size art must never widen the page) */
.drh-features__grid > *, .drh-feature, .drh-feature__text, .drh-feature__art,
.drh-mid__grid > *, .drh-try__card > *, .drh-plans__grid > *, .drh-hero__grid > * { min-width: 0; }
.drh-feature__art img { max-width: 100%; }
body.drh-page { overflow-x: clip; }

/* --- Verification fixes (round 1, vs supplied mockups) --- */
.drh-picker .state-picker > div { width: 100%; }
.drh-picker .state-picker select { min-width: 100%; }
.drh-footer__btn { display: flex; width: max-content; margin-inline: auto; }
.drh-footer__logo { display: block; }
.drh-footer__logo img { margin-inline: auto; }
.drh-plans__grid { align-items: stretch; }
.drh-plan { height: 100%; box-sizing: border-box; }
@media (min-width: 1024px) {
	.drh-feature__art img { max-width: 84px; max-height: 66px; }
	.drh-feature { gap: 12px; }
	.drh-feature__text h3 { font-size: 15px; }
	.drh-study picture { height: 100%; }
	.drh-study img { height: 100%; aspect-ratio: auto; object-position: right center; }
}

/* --- Verification fixes (round 2, mobile) --- */
@media (max-width: 560px) {
	.drh-plan { flex-wrap: nowrap; padding: 16px; gap: 10px; }
	.drh-plan__main { flex: 1 1 auto; min-width: 0; gap: 11px; }
	.drh-plan__icon { width: 46px; height: 46px; border-radius: 12px; }
	.drh-plan h3 { font-size: 18px; }
	.drh-plan p { font-size: 13.5px; }
	.drh-plan__list li { font-size: 13.5px; }
	.drh-plan .drh-btn { padding: 9px 15px; font-size: 14.5px; min-height: 44px; }
}
@media (min-width: 1280px) { .drh-feature__text h3 { font-size: 14.5px; white-space: nowrap; } }

/* ---------- Hero headline animation (word-mask reveal) ----------
   Hidden start states apply only under .drh-anim, which JS adds after
   splitting the headline into word masks — no JS or reduced motion
   leaves the hero completely static. */
.drh-anim .drh-h1 .drh-wm { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: 0.12em; margin-bottom: -0.12em; }
.drh-anim .drh-h1 .drh-w { display: inline-block; transform: translateY(115%) rotate(4deg); filter: blur(8px); opacity: 0; will-change: transform, filter, opacity; }
.drh-anim.drh-play .drh-h1 .drh-w { animation: drhWordIn .8s cubic-bezier(.2,.8,.2,1) forwards; animation-delay: calc(200ms + var(--drh-i, 0) * 140ms); }
@keyframes drhWordIn { to { transform: translateY(0) rotate(0deg); filter: blur(0); opacity: 1; } }
.drh-anim .drh-h1 .drh-line2 { background-image: linear-gradient(var(--drh-green), var(--drh-green)); background-repeat: no-repeat; background-position: 0 97%; background-size: 0% 0.09em; }
.drh-anim.drh-play .drh-h1 .drh-line2 { animation: drhUnder .6s ease 1.5s forwards; }
@keyframes drhUnder { to { background-size: 100% 0.09em; } }
.drh-anim .drh-hero__sub { opacity: 0; transform: translateY(8px); }
.drh-anim.drh-play .drh-hero__sub { animation: drhSubIn .7s ease 1.9s forwards; }
@keyframes drhSubIn { to { opacity: 1; transform: translateY(0); } }
.drh-anim .drh-hero__sub .drh-sent--pop { display: inline-block; }
.drh-anim.drh-play .drh-hero__sub .drh-sent--pop { animation: drhPop .45s ease 2.1s; }
@keyframes drhPop { 40% { transform: scale(1.07); } }
@media (prefers-reduced-motion: reduce) {
	.drh-anim .drh-h1 .drh-w { transform: none; filter: none; opacity: 1; animation: none; }
	.drh-anim .drh-h1 .drh-line2 { animation: none; background-size: 0% 0.09em; }
	.drh-anim .drh-hero__sub { opacity: 1; transform: none; animation: none; }
	.drh-anim .drh-hero__sub .drh-sent--pop { animation: none; }
}

/* ---------- Journey card animation (1.8.7) ----------
   Scroll-triggered sequence driven by home.js (.drh-janim/.drh-jplay
   on the section). Without JS, or with reduced motion, the card shows
   its final values exactly as PHP rendered them. */
.drh-journey { --j-ring-delay: .15s; --j-bar-delay: .35s; --j-stagger: .18s; --j-bar-dur: 1.5s; }
.drh-badge { position: relative; overflow: hidden; }
.drh-badge::after { content: ""; position: absolute; inset: 0;
	background: linear-gradient(105deg, transparent 25%, rgba(255,255,255,.55) 50%, transparent 75%);
	transform: translateX(-130%); animation: drhBadgeShine 4.4s ease-in-out infinite; }
@keyframes drhBadgeShine { 0% { transform: translateX(-130%); } 20% { transform: translateX(130%); } 100% { transform: translateX(130%); } }
.drh-ring__arc { stroke-dasharray: 100; stroke-dashoffset: calc(100 - var(--ringpct, 72)); }
.drh-janim { opacity: 0; transform: translateY(28px) scale(.97); }
.drh-janim.drh-jplay { opacity: 1; transform: none; transition: opacity .7s ease-out, transform .7s ease-out; }
.drh-janim .drh-ring__arc { stroke-dashoffset: 100; }
.drh-janim.drh-jplay .drh-ring__arc { stroke-dashoffset: calc(100 - var(--ringpct, 72));
	transition: stroke-dashoffset 1.8s ease-out var(--j-ring-delay); }
.drh-bar__fill { position: relative; overflow: hidden; transform-origin: left center; }
.drh-journey .drh-bar:nth-child(1) { --d: var(--j-bar-delay); }
.drh-journey .drh-bar:nth-child(2) { --d: calc(var(--j-bar-delay) + var(--j-stagger)); }
.drh-journey .drh-bar:nth-child(3) { --d: calc(var(--j-bar-delay) + var(--j-stagger) * 2); }
.drh-janim .drh-bar__fill { transform: scaleX(0); }
.drh-janim.drh-jplay .drh-bar__fill { transform: scaleX(1);
	transition: transform var(--j-bar-dur) ease-out var(--d, 0s); }
.drh-bar__fill::after { content: ""; position: absolute; inset: 0;
	background: linear-gradient(105deg, transparent 25%, rgba(255,255,255,.45) 50%, transparent 75%);
	transform: translateX(-130%); }
.drh-janim.drh-jplay .drh-bar__fill::after { animation: drhBarShine .9s ease-out calc(var(--d, 0s) + var(--j-bar-dur)) 1 both; }
@keyframes drhBarShine { from { transform: translateX(-130%); } to { transform: translateX(130%); } }
.drh-janim .drh-journey__msg { opacity: 0; transform: translateY(14px); }
.drh-janim.drh-jplay .drh-journey__msg { opacity: 1; transform: none;
	transition: opacity .6s ease-out calc(var(--j-bar-delay) + var(--j-stagger) * 2 + var(--j-bar-dur) + .1s),
		transform .6s ease-out calc(var(--j-bar-delay) + var(--j-stagger) * 2 + var(--j-bar-dur) + .1s); }
.drh-janim .drh-journey__msg .drh-icon { transform: scale(0); }
.drh-janim.drh-jplay .drh-journey__msg .drh-icon { transform: scale(1);
	transition: transform .55s cubic-bezier(.34, 1.56, .64, 1) calc(var(--j-bar-delay) + var(--j-stagger) * 2 + var(--j-bar-dur) + .3s); }
.drh-journey__msg .drh-icon path { stroke-dasharray: 100; stroke-dashoffset: 0; }
.drh-janim .drh-journey__msg .drh-icon path { stroke-dashoffset: 100; }
.drh-janim.drh-jplay .drh-journey__msg .drh-icon path { stroke-dashoffset: 0;
	transition: stroke-dashoffset .45s ease-out calc(var(--j-bar-delay) + var(--j-stagger) * 2 + var(--j-bar-dur) + .8s); }
@media (prefers-reduced-motion: reduce) {
	.drh-badge::after { display: none; }
	.drh-janim { opacity: 1; transform: none; }
	.drh-janim .drh-ring__arc { stroke-dashoffset: calc(100 - var(--ringpct, 72)); }
	.drh-janim .drh-bar__fill { transform: none; }
	.drh-janim .drh-journey__msg { opacity: 1; transform: none; }
	.drh-janim .drh-journey__msg .drh-icon { transform: none; }
	.drh-janim .drh-journey__msg .drh-icon path { stroke-dashoffset: 0; }
	.drh-journey *, .drh-journey *::before, .drh-journey *::after { transition: none !important; animation: none !important; }
}

/* ---------- Header redesign (1.8.9) ---------- */
.drh-nav li.current-menu-item > a { color: #1455F5; box-shadow: inset 0 -2px 0 #1455F5; }
.drh-nav a:hover { color: #1455F5; }
.drh-header__cta { background: #1455F5; }
.drh-header__cta:hover { background: #0F46D8; }
.drh-header__cta .dr-icon { margin-inline-start: 7px; }
.drh-signin:hover { border-color: #1455F5; color: #1455F5; }
.drh-burger__ic { display: grid; place-items: center; }
.drh-burger__ic--x { display: none; }
.drh-burger[aria-expanded="true"] .drh-burger__ic--menu { display: none; }
.drh-burger[aria-expanded="true"] .drh-burger__ic--x { display: grid; }
.drh-mobile-menu { max-height: calc(100dvh - 72px); overflow-y: auto; padding: 8px 14px 16px; }
.drh-mobile-menu a { display: flex; align-items: center; gap: 12px; padding: 12px 10px; min-height: 48px; border-top: 0; border-radius: 10px; }
.drh-mobile-menu li.current-menu-item > a { background: #EAF1FE; color: #1455F5; }
.drh-mobile-menu .dtp-mi { display: inline-flex; color: var(--drh-navy); }
.drh-mobile-menu li.current-menu-item .dtp-mi { color: #1455F5; }
.drh-mobile-menu .dtp-mc { margin-inline-start: auto; display: inline-flex; color: #9DB2D0; }
.dtp-mi .dr-icon, .dtp-mc .dr-icon { display: block; }
.drh-mnav-actions { display: grid; gap: 10px; padding-top: 12px; margin-top: 8px; border-top: 1px solid #EDF2F9; }
.drh-mnav-actions .drh-btn { width: 100%; min-height: 48px; justify-content: center; gap: 8px; }
.drh-mnav-actions .drh-btn--primary { background: #1455F5; }
.drh-mnav-actions .drh-btn--primary:hover { background: #0F46D8; }
.drh-header a:focus-visible, .drh-header button:focus-visible { outline: 2px solid #1455F5; outline-offset: 2px; }
@media (min-width: 1100px) {
	.drh-header__in { display: grid; grid-template-columns: auto 1fr auto; }
	.drh-logo { justify-self: start; }
	.drh-nav { justify-self: center; margin-inline-start: 0; }
	.drh-nav a { padding: 10px 2px; }
	.drh-header__actions { justify-self: end; margin-inline-start: 0; }
}
.drh-signin, .drh-header__cta { white-space: nowrap; }
/* Button consistency (1.8.10): homepage header + mobile-menu buttons use
   the site-standard 10px radius and the standard outline treatment
   (light border, navy text) instead of the hero's blue outline. */
.drh-signin, .drh-header__cta, .drh-mnav-actions .drh-btn { border-radius: 10px; }
.drh-mnav-actions .drh-btn--outline { border-color: #C9D6E8; color: var(--drh-navy); }
.drh-mnav-actions .drh-btn--outline:hover { border-color: #1455F5; color: #1455F5; background: #fff; }
/* Larger header logo (1.8.11): 56px desktop (above), a touch smaller on
   narrow screens so the bar keeps its proportions. */
@media (max-width: 719px) { .drh-logo img { height: 50px; } }
/* Journey head pill alignment (1.8.12): align the "Sample preview" pill
   with the first line of the title instead of floating mid-title when
   the heading wraps, and give it compact, even padding. */
.drh-journey__head { align-items: flex-start; }
.drh-journey__head .drh-badge { flex: none; white-space: nowrap; margin-top: 5px; padding: 5px 12px; font-size: 12px; line-height: 1.35; }
