/*
 * Help after your purchase (/help-after-your-purchase/), round 2. A sibling of
 * the About page: Sen headings, Figtree text, HDM blue, deep navy and green,
 * near square corners, icon tiles and fact cards. Phone first, site header
 * breakpoint 1000px. Grounds are white, cool grey or light blue (never warm).
 * Blue and navy carry structure, green carries action and proof. No motion
 * beyond hover and focus.
 */

.hdm-hap {
	--ink: #0d1b2e;
	--body: #2b3645;
	--meta: #5b6878;
	--line: #dfe6ef;
	--navy: #0a1f44;
	--navy-2: #102c5e;
	--blue: #115feb;
	--blue-d: #0b4cc4;
	--sky: #eaf2ff;
	--sky-2: #f4f7fc;
	--green: #37b44a;
	--green-d: #2b9a3d;
	--green-t: #eaf7ec;
	--red: #b42318;
	--r: 8px;
	--gutter: 20px;
	--wrap: 1200px;
	--sec: 64px;
	--display: 'Sen', 'Segoe UI', Arial, sans-serif;
	--text: 'Figtree', 'Segoe UI', Arial, sans-serif;
	font-family: var(--text);
	font-size: 17px;
	line-height: 1.55;
	color: var(--body);
	background: #fff;
	width: 100%;
	margin: 0;
	padding: 0;
	-webkit-font-smoothing: antialiased;
}
@media (min-width: 760px) { .hdm-hap { --gutter: 32px; } }
@media (min-width: 1000px) { .hdm-hap { --gutter: 48px; --sec: 104px; font-size: 18px; } }

body.hdm-hap-page .col-full:has(> .hdm-hap-shell) { max-width: none; padding-left: 0; padding-right: 0; }
body.hdm-hap-page .hdm-hap-shell { width: 100%; float: none; margin: 0; padding: 0; overflow-x: clip; }

.hdm-hap *, .hdm-hap *::before, .hdm-hap *::after { box-sizing: border-box; }
.hdm-hap ul, .hdm-hap ol { list-style: none; margin: 0; padding: 0; }
.hdm-hap p, .hdm-hap h1, .hdm-hap h2, .hdm-hap h3, .hdm-hap figure, .hdm-hap blockquote, .hdm-hap fieldset, .hdm-hap legend { margin: 0; padding: 0; border: 0; }
.hdm-hap blockquote { background: none; font-style: normal; quotes: none; }
.hdm-hap blockquote::before, .hdm-hap blockquote::after { content: none; }
.hdm-hap img { display: block; max-width: 100%; height: auto; }
.hdm-hap a { color: var(--blue); text-decoration: none; }
.hdm-hap a:hover { color: var(--blue-d); }
.hdm-hap :focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.hdm-hap h1, .hdm-hap h2, .hdm-hap h3 { color: var(--ink); font-family: var(--display); letter-spacing: -.015em; text-wrap: balance; }
.hdm-hap h1 { font-size: 38px; line-height: 1.08; font-weight: 700; }
.hdm-hap h2 { font-size: 30px; line-height: 1.15; font-weight: 600; margin-bottom: 28px; }
.hdm-hap h3 { font-size: 19px; line-height: 1.3; font-weight: 600; }
@media (min-width: 1000px) {
	.hdm-hap h1 { font-size: 56px; }
	.hdm-hap h2 { font-size: 42px; margin-bottom: 40px; }
	.hdm-hap h3 { font-size: 21px; }
}
.hdm-hap .hap-ic { flex: none; display: block; }
.hdm-hap .hap-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.hdm-hap .hap-wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.hdm-hap .hap-sec { padding: var(--sec) 0; scroll-margin-top: 90px; }
.hdm-hap .hap-sec--tint { background: var(--sky-2); }

/* Icon tile, the one icon treatment on the page */
.hdm-hap .hap-tile { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: var(--r); background: var(--blue); color: #fff; }
.hdm-hap .hap-tile--navy { background: var(--navy); }
.hdm-hap .hap-tile--green { background: var(--green); }
.hdm-hap .hap-tile--sky { background: var(--sky); color: var(--blue); }
.hdm-hap .hap-tile--white { background: #fff; color: var(--blue); }
.hdm-hap .hap-tile--sm { width: 40px; height: 40px; }

/* Buttons and links */
.hdm-hap .hap-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 24px; border: 0; border-radius: var(--r); background: var(--green); color: #fff; font-family: var(--display); font-weight: 600; font-size: 18px; line-height: 1.15; cursor: pointer; transition: background-color .2s; }
.hdm-hap .hap-btn:hover { background: var(--green-d); color: #fff; }
.hdm-hap .hap-btn[disabled] { background: #9aa6b5; cursor: default; }
.hdm-hap .hap-btn[hidden] { display: none; }
.hdm-hap .hap-btn--wide { width: 100%; }
.hdm-hap .hap-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-family: var(--display); font-weight: 600; font-size: 16px; color: var(--blue); }
.hdm-hap .hap-link:hover { color: var(--blue-d); }
.hdm-hap .hap-link--light { color: #9cc0ff; }
.hdm-hap .hap-link--light:hover { color: #fff; }

/* a. First screen, a bento of cards */
.hdm-hap .hap-hero { background: var(--sky-2); padding: 20px 0 28px; }
.hdm-hap .hap-bento { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.hdm-hap .hap-card { border-radius: var(--r); overflow: hidden; }
.hdm-hap .hap-card--intro { grid-column: 1 / -1; background: var(--navy); color: #fff; padding: 28px 24px 30px; }
.hdm-hap .hap-card--intro h1 { color: #fff; }
.hdm-hap .hap-strong { font-family: var(--display); font-weight: 600; font-size: 23px; line-height: 1.2; color: #8ee29b; margin-top: 14px; text-wrap: balance; }
.hdm-hap .hap-line { font-size: 17px; line-height: 1.45; color: #d5e2f7; margin-top: 10px; max-width: 26em; }
.hdm-hap .hap-card--intro .hap-btn { margin-top: 24px; }
.hdm-hap .hap-card--photo { grid-column: 1 / -1; aspect-ratio: 16 / 10; background: var(--sky); }
.hdm-hap .hap-card--photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 80%; }
.hdm-hap .hap-card--who { grid-column: 1 / -1; background: #fff; border: 1px solid var(--line); padding: 18px; display: grid; gap: 14px; align-content: center; }
.hdm-hap .hap-card--who li { display: flex; align-items: center; gap: 14px; font-weight: 600; color: var(--ink); line-height: 1.3; }
.hdm-hap .hap-card--fact { display: flex; flex-direction: column; padding: 18px; color: #fff; min-height: 184px; }
.hdm-hap .hap-card--fact:hover { color: #fff; }
.hdm-hap .hap-card--during { background: var(--blue); }
.hdm-hap .hap-card--during:hover { background: var(--blue-d); }
.hdm-hap .hap-card--after { background: var(--green); }
.hdm-hap .hap-card--after:hover { background: var(--green-d); }
.hdm-hap .hap-card__k { font-family: var(--display); font-weight: 700; font-size: 15px; line-height: 1.2; white-space: nowrap; margin-top: auto; padding-top: 16px; }
.hdm-hap .hap-card__v { font-family: var(--display); font-weight: 700; font-size: 26px; line-height: 1.1; letter-spacing: -.03em; margin-top: 4px; }
.hdm-hap .hap-card__l { font-size: 15px; line-height: 1.35; margin-top: 6px; }
@media (min-width: 1000px) {
	.hdm-hap .hap-hero { padding: 40px 0 16px; }
	.hdm-hap .hap-bento { grid-template-columns: repeat(24, 1fr); gap: 16px; }
	.hdm-hap .hap-card--intro { grid-column: span 14; padding: 56px 48px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; min-height: 420px; }
	.hdm-hap .hap-strong { font-size: 30px; margin-top: 18px; }
	.hdm-hap .hap-line { font-size: 20px; margin-top: 12px; }
	.hdm-hap .hap-card--intro .hap-btn { margin-top: 32px; }
	.hdm-hap .hap-card--photo { grid-column: span 10; aspect-ratio: auto; }
	.hdm-hap .hap-card--photo img { object-position: 50% 60%; }
	.hdm-hap .hap-card--who { grid-column: span 14; padding: 24px 28px; }
	.hdm-hap .hap-card--fact { grid-column: span 5; padding: 24px; min-height: 0; }
	.hdm-hap .hap-card__v { font-size: 34px; }
	.hdm-hap .hap-card__l { font-size: 16px; }
}

/* The diagram. Four numbered icon tiles on one line, the last one green */
.hdm-hap .hap-steps { display: grid; gap: 0; }
.hdm-hap .hap-step { position: relative; display: grid; grid-template-columns: 60px 1fr; column-gap: 18px; padding-bottom: 30px; }
.hdm-hap .hap-step:last-child { padding-bottom: 0; }
.hdm-hap .hap-step .hap-tile { grid-row: 1 / span 2; width: 60px; height: 60px; position: relative; z-index: 1; }
.hdm-hap .hap-step:last-child .hap-tile { background: var(--green); }
.hdm-hap .hap-step__n { position: absolute; z-index: 2; left: 44px; top: -8px; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: #fff; border: 2px solid var(--line); color: var(--ink); font-family: var(--display); font-weight: 700; font-size: 13px; line-height: 1; }
.hdm-hap .hap-step h3 { align-self: end; }
.hdm-hap .hap-step p { font-size: 16px; line-height: 1.45; color: var(--body); margin-top: 4px; }
.hdm-hap .hap-step:not(:last-child)::before { content: ''; position: absolute; left: 29px; top: 60px; bottom: 0; width: 2px; background: repeating-linear-gradient( to bottom, #b9cdf3 0 6px, transparent 6px 12px ); }
@media (min-width: 1000px) {
	.hdm-hap .hap-steps { grid-template-columns: repeat(4, 1fr); gap: 32px; }
	.hdm-hap .hap-step { display: block; padding-bottom: 0; }
	.hdm-hap .hap-step .hap-tile { width: 72px; height: 72px; margin-bottom: 22px; }
	.hdm-hap .hap-step .hap-tile .hap-ic { width: 32px; height: 32px; }
	.hdm-hap .hap-step__n { left: 56px; top: -10px; width: 30px; height: 30px; font-size: 14px; }
	.hdm-hap .hap-step h3 { min-height: 2.6em; max-width: 11em; }
	.hdm-hap .hap-step p { font-size: 17px; margin-top: 8px; max-width: 17em; }
	.hdm-hap .hap-step:not(:last-child)::before { left: 96px; right: -20px; top: 35px; bottom: auto; width: auto; height: 2px; background: repeating-linear-gradient( to right, #b9cdf3 0 8px, transparent 8px 16px ); }
	.hdm-hap .hap-step:not(:last-child)::after { content: ''; position: absolute; right: -22px; top: 30px; width: 10px; height: 10px; border-top: 2px solid #8fb0ee; border-right: 2px solid #8fb0ee; transform: rotate(45deg); }
}

/* b and c. Two panels, told apart at a glance */
.hdm-hap .hap-cover { display: grid; gap: 0; }
.hdm-hap .hap-panel { border-radius: var(--r); padding: 26px 22px 28px; }
.hdm-hap .hap-panel__head { display: flex; align-items: center; gap: 16px; }
.hdm-hap .hap-panel__head h3 { margin: 0; font-size: 26px; line-height: 1.15; }
.hdm-hap .hap-panel__say { margin-top: 20px; font-family: var(--display); font-weight: 600; font-size: 22px; line-height: 1.25; letter-spacing: -.01em; }
.hdm-hap .hap-panel__say p + p { margin-top: 8px; }
.hdm-hap .hap-tags { display: grid; gap: 8px; margin-top: 18px; font-size: 17px; font-weight: 600; line-height: 1.3; }
.hdm-hap .hap-tags li { display: flex; align-items: center; gap: 10px; }
.hdm-hap .hap-panel--during { background: var(--blue); color: #fff; }
.hdm-hap .hap-panel--during h3 { color: #fff; }
.hdm-hap .hap-panel--during .hap-tags .hap-ic { color: #a8f0b3; }
.hdm-hap .hap-panel__link { display: inline-flex; align-items: center; gap: 8px; margin-top: 24px; min-height: 48px; padding: 0 18px; border-radius: var(--r); background: #fff; color: var(--blue); font-family: var(--display); font-weight: 600; font-size: 16px; }
.hdm-hap .hap-panel__link:hover { background: var(--sky); color: var(--blue-d); }
.hdm-hap .hap-panel--after { background: #fff; border: 1px solid var(--line); }
.hdm-hap .hap-panel--after .hap-tags { color: var(--ink); }
.hdm-hap .hap-panel--after .hap-tags .hap-ic { color: var(--green-d); }
.hdm-hap .hap-panel--after .hap-panel__say { color: var(--ink); }
.hdm-hap .hap-pledge { margin-top: 22px; padding: 22px 22px 20px; border-radius: var(--r); background: var(--sky); color: var(--ink); }
.hdm-hap .hap-pledge .hap-ic { color: var(--blue); margin-bottom: 10px; }
.hdm-hap .hap-pledge blockquote p { font-size: 18px; line-height: 1.5; font-weight: 500; font-style: normal; }
.hdm-hap .hap-pledge blockquote p + p { margin-top: 10px; font-weight: 700; }
.hdm-hap .hap-pledge figcaption { margin-top: 14px; font-family: var(--display); font-weight: 600; font-size: 15px; color: var(--blue-d); }
.hdm-hap .hap-limit { display: flex; gap: 10px; align-items: flex-start; margin-top: 18px; font-size: 17px; line-height: 1.45; color: var(--ink); }
.hdm-hap .hap-limit .hap-ic { margin-top: 1px; color: var(--meta); }
.hdm-hap .hap-between { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 0; font-family: var(--display); font-weight: 600; font-size: 16px; color: var(--ink); }
.hdm-hap .hap-between .hap-ic { transform: rotate(90deg); color: var(--blue); }
@media (min-width: 1000px) {
	.hdm-hap .hap-cover { grid-template-columns: minmax(0, .82fr) 150px minmax(0, 1.18fr); align-items: stretch; }
	.hdm-hap .hap-panel { padding: 40px; }
	.hdm-hap .hap-panel__head h3 { font-size: 32px; }
	.hdm-hap .hap-panel__say { font-size: 28px; margin-top: 26px; }
	.hdm-hap .hap-tags { font-size: 18px; margin-top: 22px; }
	/* The blue panel is as tall as the white one beside it. Its four parts share
	   the spare height evenly, so no single gap is left hanging above the button. */
	.hdm-hap .hap-panel--during { display: flex; flex-direction: column; justify-content: space-between; gap: 28px; }
	.hdm-hap .hap-panel--during .hap-panel__head h3 { font-size: 28px; white-space: nowrap; }
	.hdm-hap .hap-panel--after .hap-tags { display: flex; flex-wrap: wrap; gap: 8px 28px; }
	.hdm-hap .hap-panel--during .hap-panel__say { font-size: 36px; line-height: 1.2; margin-top: 0; }
	.hdm-hap .hap-panel--during .hap-panel__say p + p { margin-top: 18px; }
	.hdm-hap .hap-panel--during .hap-tags { font-size: 19px; gap: 10px; margin-top: 0; }
	.hdm-hap .hap-panel--during .hap-panel__link { margin-top: 0; align-self: flex-start; }
	.hdm-hap .hap-pledge { padding: 28px; }
	.hdm-hap .hap-pledge blockquote p { font-size: 20px; }
	.hdm-hap .hap-between { flex-direction: column; text-align: center; padding: 0 16px; line-height: 1.3; font-size: 17px; }
	.hdm-hap .hap-between .hap-ic { transform: none; width: 28px; height: 28px; }
}

/* 2. Brand logo grid. Every tile has the same build */
.hdm-hap .hap-note { display: flex; gap: 10px; align-items: flex-start; margin-top: 16px; font-size: 17px; line-height: 1.45; color: var(--ink); }
.hdm-hap .hap-note .hap-ic { margin-top: 1px; color: var(--green-d); }
.hdm-hap .hap-note--lead { margin: -8px 0 22px; font-weight: 600; }
.hdm-hap .hap-note--lead .hap-ic { color: var(--blue); }
.hdm-hap .hap-brands { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 24px; }
.hdm-hap .hap-brand { display: flex; flex-direction: column; padding: 12px 14px 14px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); }
.hdm-hap .hap-brand__mark { display: grid; place-items: center; height: 56px; margin-bottom: 10px; }
.hdm-hap .hap-logo { width: auto; max-width: 100%; height: auto; max-height: 40px; margin-inline: auto; object-fit: contain; }
.hdm-hap .hap-brand__mono { display: grid; place-items: center; min-width: 52px; height: 44px; padding: 0 12px; border-radius: var(--r); background: var(--sky); color: var(--blue); font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: .02em; }
.hdm-hap .hap-brand__name { font-family: var(--display); font-weight: 600; font-size: 16px; line-height: 1.25; color: var(--ink); padding-top: 10px; border-top: 1px solid var(--line); }
.hdm-hap .hap-brand__also { font-size: 14px; line-height: 1.35; color: var(--meta); margin-top: 2px; }
@media (min-width: 640px) { .hdm-hap .hap-brands { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1000px) {
	.hdm-hap .hap-note { font-size: 18px; }
	.hdm-hap .hap-note--lead { margin: -16px 0 28px; }
	.hdm-hap .hap-brands { grid-template-columns: repeat(7, 1fr); gap: 12px; margin-bottom: 28px; }
	.hdm-hap .hap-brand__mark { height: 64px; }
	.hdm-hap .hap-logo { max-height: 44px; }
	.hdm-hap .hap-brand__name { font-size: 15px; }
	.hdm-hap .hap-brand__also { font-size: 13px; }
}

/* d. Labor */
.hdm-hap .hap-labor { display: grid; gap: 10px; }
.hdm-hap .hap-labor__lead { display: flex; align-items: center; gap: 16px; padding: 24px 22px; border-radius: var(--r); background: var(--navy); color: #fff; font-family: var(--display); font-weight: 600; font-size: 24px; line-height: 1.2; letter-spacing: -.01em; }
.hdm-hap .hap-labor__lead .hap-ic { color: #8ee29b; }
.hdm-hap .hap-fact { display: grid; grid-template-columns: 52px 1fr; column-gap: 16px; align-items: start; padding: 20px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); }
.hdm-hap .hap-fact .hap-tile { grid-row: 1 / span 3; }
.hdm-hap .hap-fact p { font-size: 16px; line-height: 1.5; color: var(--body); margin-top: 4px; }
.hdm-hap .hap-fact .hap-link { margin-top: 4px; justify-self: start; }
@media (min-width: 1000px) {
	.hdm-hap .hap-labor { grid-template-columns: repeat(3, 1fr); gap: 16px; }
	.hdm-hap .hap-labor__lead { grid-column: 1 / -1; padding: 32px 40px; font-size: 32px; }
	.hdm-hap .hap-fact { padding: 28px; }
	.hdm-hap .hap-fact:not(.hap-fact--flat) { display: block; }
	.hdm-hap .hap-fact:not(.hap-fact--flat) h3 { margin-top: 18px; }
	.hdm-hap .hap-fact:not(.hap-fact--flat) p { margin-top: 8px; }
	.hdm-hap .hap-fact p { font-size: 17px; }
	.hdm-hap .hap-fact--flat { column-gap: 20px; }
}

/* e. Lifts and carts, two smaller notes */
.hdm-hap h2.hap-h2--sub { margin: 48px 0 18px; font-size: 24px; }
.hdm-hap .hap-notes { display: grid; gap: 10px; }
@media (min-width: 1000px) {
	.hdm-hap h2.hap-h2--sub { margin: 72px 0 24px; font-size: 30px; }
	.hdm-hap .hap-notes { grid-template-columns: 1fr 1fr; gap: 16px; }
}

/* f. Ask us. The form is the action of the page. On phones the form comes
   straight after the title, on desktop it sits beside the trust lines. */
.hdm-hap .hap-sec--ask { background: var(--navy); color: #d5e2f7; }
.hdm-hap .hap-ask { display: grid; gap: 0; }
.hdm-hap h2.hap-ask__title { color: #fff; margin-bottom: 20px; }
.hdm-hap .hap-trust { display: grid; gap: 14px; margin-top: 28px; }
.hdm-hap .hap-trust li { display: flex; gap: 12px; align-items: flex-start; font-size: 17px; line-height: 1.4; color: #fff; }
.hdm-hap .hap-trust .hap-ic { color: #8ee29b; margin-top: 1px; }
.hdm-hap .hap-person { display: grid; grid-template-columns: 64px 1fr; gap: 14px; align-items: start; margin-top: 26px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .16); }
.hdm-hap .hap-person__photo { width: 64px; height: 64px; border-radius: 50%; overflow: hidden; background: #fff; }
.hdm-hap .hap-person__photo img { width: 100%; height: 100%; object-fit: cover; }
.hdm-hap .hap-person__name { font-family: var(--display); font-weight: 600; font-size: 19px; color: #fff; line-height: 1.2; }
.hdm-hap .hap-person__role { font-size: 14px; font-weight: 600; color: #9cc0ff; margin-top: 2px; }
.hdm-hap .hap-person__proof { font-size: 15px; line-height: 1.4; color: #d5e2f7; margin-top: 8px; }
.hdm-hap .hap-person .hap-link { margin-top: 4px; }
@media (min-width: 1000px) {
	.hdm-hap .hap-ask { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-rows: auto auto auto 1fr; column-gap: 64px; }
	.hdm-hap h2.hap-ask__title { grid-column: 1; grid-row: 1; margin-bottom: 8px; }
	.hdm-hap .hap-form { grid-column: 2; grid-row: 1 / -1; align-self: start; }
	.hdm-hap .hap-trust { grid-column: 1; grid-row: 2; margin-top: 20px; }
	.hdm-hap .hap-trust li { font-size: 18px; }
	.hdm-hap .hap-person { grid-column: 1; grid-row: 3; grid-template-columns: 72px 1fr; gap: 16px; margin-top: 40px; padding-top: 32px; }
	.hdm-hap .hap-person__photo { width: 72px; height: 72px; }
}

.hdm-hap .hap-form { background: #fff; color: var(--body); border-radius: 10px; padding: 22px 20px 24px; }
@media (min-width: 760px) { .hdm-hap .hap-form { padding: 36px; } }

.hdm-hap .hap-stepper { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 26px; }
.hdm-hap .hap-stepper li { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; border-bottom: 3px solid var(--line); font-family: var(--display); font-weight: 600; font-size: 15px; color: var(--meta); line-height: 1.2; }
.hdm-hap .hap-stepper__n { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: var(--r); background: var(--sky-2); border: 1px solid var(--line); color: var(--meta); font-size: 15px; }
.hdm-hap .hap-stepper__n b { font-weight: 700; }
.hdm-hap .hap-stepper__n .hap-ic { display: none; }
.hdm-hap .hap-stepper li.is-current { color: var(--ink); border-bottom-color: var(--blue); }
.hdm-hap .hap-stepper li.is-current .hap-stepper__n { background: var(--blue); border-color: var(--blue); color: #fff; }
.hdm-hap .hap-stepper li.is-done { color: var(--ink); border-bottom-color: var(--green); }
.hdm-hap .hap-stepper li.is-done .hap-stepper__n { background: var(--green); border-color: var(--green); color: #fff; }
.hdm-hap .hap-stepper li.is-done .hap-stepper__n b { display: none; }
.hdm-hap .hap-stepper li.is-done .hap-stepper__n .hap-ic { display: block; }
@media (min-width: 760px) { .hdm-hap .hap-stepper li { font-size: 17px; } }

.hdm-hap .hap-step-fields[hidden] { display: none; }
.hdm-hap .hap-field { margin-bottom: 20px; }
.hdm-hap .hap-field label:not(.hap-file-btn), .hdm-hap .hap-label { display: block; font-family: var(--display); font-weight: 600; font-size: 17px; color: var(--ink); margin-bottom: 8px; }
.hdm-hap .hap-field input[type="text"],
.hdm-hap .hap-field input[type="email"],
.hdm-hap .hap-field textarea { display: block; width: 100%; min-height: 56px; margin: 0; padding: 14px 16px; border: 1.5px solid #aab6c6; border-radius: var(--r); background: #fff; color: var(--ink); font-family: var(--text); font-size: 18px; line-height: 1.4; box-shadow: none; transition: border-color .15s; }
.hdm-hap .hap-field textarea { min-height: 132px; resize: vertical; }
.hdm-hap .hap-field input:hover, .hdm-hap .hap-field textarea:hover { border-color: #7f8ea3; }
.hdm-hap .hap-field input:focus, .hdm-hap .hap-field textarea:focus { border-color: var(--blue); outline: 3px solid rgba(17, 95, 235, .28); outline-offset: 0; }
.hdm-hap .hap-field input[aria-invalid="true"] { border-color: var(--red); }
.hdm-hap .hap-hint { display: block; font-size: 15px; line-height: 1.4; color: var(--meta); margin-top: 8px; }
.hdm-hap .hap-err { display: block; font-size: 15px; font-weight: 600; line-height: 1.4; color: var(--red); margin-top: 6px; }
.hdm-hap .hap-err[hidden] { display: none; }
.hdm-hap .hap-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.hdm-hap .hap-found { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; padding: 14px 16px; border-radius: var(--r); background: var(--green-t); color: var(--ink); font-family: var(--display); font-weight: 600; font-size: 18px; line-height: 1.25; }
.hdm-hap .hap-found[hidden] { display: none; }
.hdm-hap .hap-found .hap-ic { color: var(--green-d); }

/* File picker. The input stays focusable, the label is the button. */
.hdm-hap .hap-file-input { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.hdm-hap .hap-file-btn { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 60px; margin: 0; padding: 0 16px; border: 1.5px dashed #8fb0ee; border-radius: var(--r); background: var(--sky-2); color: var(--blue); font-family: var(--display); font-weight: 600; font-size: 17px; cursor: pointer; transition: background-color .15s, border-color .15s; }
.hdm-hap .hap-file-btn:hover { background: var(--sky); border-color: var(--blue); }
.hdm-hap .hap-file-input:focus-visible + .hap-file-btn { outline: 3px solid var(--blue); outline-offset: 3px; }
.hdm-hap .hap-file-list { display: grid; gap: 8px; margin-top: 10px; }
.hdm-hap .hap-file-list:empty { display: none; }
.hdm-hap .hap-file-list li { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 4px 4px 4px 12px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; font-size: 16px; color: var(--ink); }
.hdm-hap .hap-file-list .hap-ic { color: var(--blue); }
.hdm-hap .hap-file-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hdm-hap .hap-file-name small { color: var(--meta); font-size: 14px; margin-left: 6px; }
.hdm-hap .hap-file-x { display: grid; place-items: center; width: 48px; height: 48px; margin: 0; padding: 0; border: 0; border-radius: var(--r); background: transparent; color: var(--meta); cursor: pointer; }
.hdm-hap .hap-file-x:hover { background: var(--sky-2); color: var(--ink); }

.hdm-hap .hap-progress { height: 8px; margin-top: 18px; border-radius: 4px; background: var(--sky); overflow: hidden; }
.hdm-hap .hap-progress[hidden] { display: none; }
.hdm-hap .hap-progress__bar { display: block; width: 0; height: 100%; border-radius: 4px; background: var(--blue); transition: width .2s; }

/* Form messages. One box, four looks */
.hdm-hap .hap-status { display: none; gap: 14px; align-items: flex-start; margin-top: 18px; padding: 16px 18px; border-radius: var(--r); background: var(--sky-2); color: var(--ink); font-size: 17px; line-height: 1.45; }
.hdm-hap .hap-status.is-shown { display: flex; }
.hdm-hap .hap-status__ic { display: none; flex: none; }
.hdm-hap .hap-status__title { display: none; font-family: var(--display); font-weight: 600; font-size: 22px; line-height: 1.2; margin-bottom: 6px; }
.hdm-hap .hap-status.is-busy { background: none; padding: 0; color: var(--meta); font-weight: 600; }
.hdm-hap .hap-status.is-error { background: #fdf1f0; color: #7a1a12; }
.hdm-hap .hap-status.is-error .hap-status__ic--info { display: block; color: var(--red); }
.hdm-hap .hap-status.is-nomatch { background: var(--sky); color: var(--ink); font-weight: 500; }
.hdm-hap .hap-status.is-nomatch .hap-status__ic--info { display: block; color: var(--blue); }
.hdm-hap .hap-status.is-done { margin-top: 0; padding: 24px 22px; background: var(--green-t); }
.hdm-hap .hap-status.is-done .hap-status__ic--done { display: block; color: var(--green-d); }
.hdm-hap .hap-status.is-done .hap-status__title { display: block; }
.hdm-hap .hap-form.is-done .hap-step-fields, .hdm-hap .hap-form.is-done .hap-found, .hdm-hap .hap-form.is-done .hap-progress { display: none; }
.hdm-hap .hap-noscript { margin-top: 16px; font-weight: 600; color: var(--ink); }

/* g. Story card. The customer's words on navy, what happened beside them */
.hdm-hap .hap-story { display: grid; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: #fff; }
.hdm-hap .hap-story__img { position: relative; background: var(--sky); }
.hdm-hap .hap-story__img img { width: 100%; height: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.hdm-hap .hap-story__img figcaption { position: absolute; left: 10px; bottom: 10px; padding: 3px 8px; border-radius: 4px; background: rgba(10, 31, 68, .72); color: #fff; font-size: 12px; font-weight: 600; letter-spacing: .04em; }
.hdm-hap .hap-story__say { background: var(--navy); color: #fff; padding: 28px 22px 24px; }
.hdm-hap .hap-story__say > .hap-ic { color: #8ee29b; margin-bottom: 14px; }
.hdm-hap .hap-story__quote p { font-family: var(--display); font-weight: 600; font-size: 21px; line-height: 1.35; font-style: normal; letter-spacing: -.01em; color: #fff; }
.hdm-hap .hap-story__who { margin-top: 18px; font-size: 16px; color: #d5e2f7; }
.hdm-hap .hap-story__who strong { color: #fff; font-weight: 700; }
.hdm-hap .hap-story__say .hap-link { margin-top: 6px; font-family: var(--text); font-weight: 500; font-size: 15px; }
.hdm-hap .hap-story__body { padding: 26px 22px 22px; }
.hdm-hap .hap-story__steps { display: grid; gap: 16px; margin: 18px 0 14px; }
.hdm-hap .hap-story__steps li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; font-size: 16px; line-height: 1.45; color: var(--body); }
.hdm-hap .hap-story__steps li > span:last-child { padding-top: 7px; }
@media (min-width: 1000px) {
	.hdm-hap .hap-story { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
	.hdm-hap .hap-story__img { grid-column: 1 / -1; }
	.hdm-hap .hap-story__img img { aspect-ratio: 21 / 9; }
	.hdm-hap .hap-story__say { padding: 48px; }
	.hdm-hap .hap-story__quote p { font-size: 26px; }
	.hdm-hap .hap-story__body { padding: 48px; }
	.hdm-hap .hap-story__body h3 { font-size: 26px; }
	.hdm-hap .hap-story__steps { gap: 20px; margin: 26px 0 20px; }
	.hdm-hap .hap-story__steps li { font-size: 18px; }
	.hdm-hap .hap-story__steps li > span:last-child { padding-top: 5px; }
}

/* h. The one question */
.hdm-hap .hap-sec--faq { padding-top: 0; }
.hdm-hap .hap-faq { display: grid; gap: 18px; padding: 26px 22px 28px; border-radius: var(--r); background: var(--sky); }
.hdm-hap .hap-faq h2 { font-size: 24px; line-height: 1.2; margin: 0; }
.hdm-hap .hap-faq__no { font-family: var(--display); font-weight: 700; font-size: 44px; line-height: 1; color: var(--blue); margin-bottom: 10px; }
.hdm-hap .hap-faq__a p:not(.hap-faq__no) { font-size: 17px; line-height: 1.5; color: var(--ink); }
.hdm-hap .hap-foot { display: flex; flex-wrap: wrap; gap: 4px 24px; align-items: center; justify-content: space-between; margin-top: 20px; font-size: 15px; color: var(--meta); }
@media (min-width: 1000px) {
	.hdm-hap .hap-faq { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; padding: 48px; align-items: start; }
	.hdm-hap .hap-faq h2 { font-size: 34px; }
	.hdm-hap .hap-faq__no { font-size: 64px; }
	.hdm-hap .hap-faq__a p:not(.hap-faq__no) { font-size: 19px; }
}
