/**
 * Questionnaire page. The visual language is the Heismic landing page's: navy
 * sections with a teal glow, silver cards, teal highlights and the red call to
 * action with one square corner.
 *
 * Every rule starts with #aq-root. The page keeps the theme's header and footer,
 * and the theme styles bare elements on a 10px root, so sizes here are in pixels
 * and the wrapper resets what it inherits before the components style themselves.
 */

#aq-root {
	--aq-navy: #000823;
	--aq-teal: #28ccc1;
	--aq-teal-deep: #007a73;
	--aq-red: #b50525;
	--aq-red-bright: #d40a2f;
	--aq-ink: #0b1633;
	--aq-slate: #475569;
	--aq-mist: #cbd5e1;
	--aq-ease: cubic-bezier(0.16, 0.84, 0.44, 1);

	background: var(--aq-navy);
	color: #f1f5f9;
	font-family: "Founders Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	font-size: 16px;
	font-weight: 300;
	line-height: 1.5;
	text-align: left;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

#aq-root *,
#aq-root *::before,
#aq-root *::after {
	box-sizing: border-box;
}

#aq-root * {
	color: inherit;
	font-family: inherit;
	font-size: inherit;
	font-weight: inherit;
	letter-spacing: inherit;
	margin: 0;
	max-width: none;
	padding: 0;
	text-align: inherit;
	text-transform: none;
}

#aq-root h1,
#aq-root h2,
#aq-root h3,
#aq-root h4,
#aq-root p,
#aq-root li,
#aq-root dt,
#aq-root dd,
#aq-root label,
#aq-root button,
#aq-root input,
#aq-root select {
	line-height: 1.5;
}

#aq-root ul,
#aq-root ol {
	list-style: none;
}

#aq-root li::before,
#aq-root li::after {
	content: none;
}

#aq-root button {
	appearance: none;
	background: none;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	cursor: pointer;
	min-height: 0;
	width: auto;
}

#aq-root button:disabled {
	cursor: not-allowed;
}

#aq-root fieldset {
	border: 0;
	min-width: 0;
}

#aq-root [hidden] {
	display: none !important;
}

#aq-root svg {
	flex-shrink: 0;
}

/* Matches the Allego theme's header, footer and homepage container edges (1550px inside 50px gutters). */
#aq-root .aq-wrap {
	margin: 0 auto;
	max-width: 1650px;
	padding: 0 50px;
	width: 100%;
}

@media (max-width: 1100px) {
	#aq-root .aq-wrap {
		padding: 0 20px;
	}
}

@media (max-width: 580px) {
	#aq-root .aq-wrap {
		padding: 0 15px;
	}
}

/* ---------- hero ---------- */

#aq-root .aq-hero {
	background:
		radial-gradient(900px 460px at 12% 0, rgba(40, 204, 193, 0.13), transparent 70%),
		radial-gradient(760px 420px at 95% 100%, rgba(40, 204, 193, 0.1), transparent 70%),
		var(--aq-navy);
	overflow: hidden;
	/* The theme's navigation floats over the top of the page; this is the room it takes. */
	padding: 144px 0 72px;
	position: relative;
}

/* While the questions are the whole page, the navy runs to the bottom of the screen. */
#aq-root .aq-hero[data-aq-stage="quiz"] {
	min-height: 100vh;
	min-height: 100svh;
}

#aq-root .aq-hero__grid {
	display: grid;
	grid-template-areas: "copy" "card" "aside";
	grid-template-columns: minmax(0, 1fr);
	row-gap: 32px;
}

#aq-root .aq-hero__copy { grid-area: copy; min-width: 0; }
#aq-root .aq-hero__card { grid-area: card; min-width: 0; position: relative; }
#aq-root .aq-hero__aside { grid-area: aside; min-width: 0; }

#aq-root .aq-hero__card::before {
	background: rgba(40, 204, 193, 0.1);
	border-radius: 36px;
	content: "";
	filter: blur(32px);
	inset: -16px;
	pointer-events: none;
	position: absolute;
}

#aq-root .aq-hero__title {
	color: #fff;
	font-size: 36px;
	font-weight: 600;
	letter-spacing: -0.025em;
	line-height: 1.06;
	outline: none;
}

#aq-root .aq-hero__title span {
	color: var(--aq-teal);
	display: block;
}

#aq-root .aq-hero__lede {
	color: var(--aq-mist);
	font-size: 18px;
	line-height: 1.625;
	margin-top: 20px;
	max-width: 640px;
}

#aq-root .aq-facts {
	display: grid;
	gap: 12px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

#aq-root .aq-facts li {
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.15);
	border-radius: 16px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	justify-content: center;
	min-height: 126px;
	min-width: 0;
	padding: 18px 14px;
}

#aq-root .aq-facts strong {
	color: var(--aq-teal);
	font-size: 30px;
	font-weight: 600;
	letter-spacing: -0.5px;
	line-height: 1.05;
}

#aq-root .aq-facts span {
	color: var(--aq-mist);
	font-size: 12px;
	font-weight: 500;
	line-height: 1.4;
}

/* The visitor's answers take the facts' place once the questionnaire is under way. */
#aq-root .aq-brief__title {
	color: var(--aq-teal);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.22em;
	text-transform: uppercase;
}

#aq-root .aq-brief__list {
	display: grid;
	gap: 10px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin-top: 14px;
}

#aq-root .aq-brief__list li {
	animation: aq-rise 420ms var(--aq-ease) both;
	min-width: 0;
}

#aq-root .aq-brief__row {
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.15);
	border-radius: 14px;
	display: block;
	height: 100%;
	padding: 12px 14px;
	text-align: left;
	transition: background-color 150ms ease, border-color 150ms ease;
	width: 100%;
}

#aq-root .aq-brief__row:hover,
#aq-root .aq-brief__row:focus-visible,
#aq-root .aq-brief__row.is-current {
	background: rgba(40, 204, 193, 0.1);
	border-color: var(--aq-teal);
}

#aq-root .aq-brief__row:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 2px;
}

#aq-root .aq-brief__label {
	color: #94a3b8;
	display: block;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.12em;
	line-height: 1.4;
	text-transform: uppercase;
}

#aq-root .aq-brief__value {
	color: #fff;
	display: block;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.35;
	margin-top: 4px;
}

/* ---------- card ---------- */

#aq-root .aq-card {
	background: linear-gradient(165deg, #f7f9fc, #e9edf4 48%, #d9dfec);
	border: 1px solid rgba(255, 255, 255, 0.4);
	border-radius: 24px;
	box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(11, 22, 51, 0.1);
	color: var(--aq-ink);
	container-type: inline-size;
	padding: 22px 20px 24px;
	position: relative;
}

#aq-root [data-aq-card] {
	display: flex;
	flex-direction: column;
	min-height: 520px;
	overflow: hidden;
}

#aq-root .aq-progress {
	display: flex;
	gap: 6px;
	margin-bottom: 26px;
}

#aq-root .aq-progress span {
	background: rgba(11, 22, 51, 0.1);
	border-radius: 999px;
	flex: 1;
	height: 5px;
	overflow: hidden;
	position: relative;
}

#aq-root .aq-progress span::after {
	background: var(--aq-teal);
	border-radius: inherit;
	content: "";
	inset: 0;
	position: absolute;
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 420ms var(--aq-ease);
}

#aq-root .aq-progress .is-done::after {
	background: var(--aq-teal-deep);
	transform: scaleX(1);
}

#aq-root .aq-progress .is-current::after {
	transform: scaleX(0.5);
}

#aq-root .aq-pane {
	display: flex;
	flex: 1;
	flex-direction: column;
	transition: opacity 280ms ease, transform 280ms var(--aq-ease);
}

#aq-root .aq-pane.is-entering {
	opacity: 0;
	transform: translateX(48px);
	transition: none;
}

#aq-root .aq-pane.is-entering-back {
	opacity: 0;
	transform: translateX(-48px);
	transition: none;
}

#aq-root .aq-kicker {
	color: var(--aq-teal-deep);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

#aq-root .aq-step__title {
	color: var(--aq-ink);
	font-size: 23px;
	font-weight: 600;
	letter-spacing: -0.01em;
	line-height: 1.2;
	outline: none;
}

#aq-root .aq-kicker + .aq-step__title {
	margin-top: 8px;
}

#aq-root .aq-step__help {
	color: var(--aq-slate);
	font-size: 14px;
	font-weight: 400;
	line-height: 1.5;
	margin-top: 8px;
}

#aq-root .aq-options {
	display: grid;
	gap: 10px;
	grid-template-columns: minmax(0, 1fr);
	margin-top: 22px;
}

#aq-root .aq-option {
	align-items: center;
	background: #fff;
	border: 1px solid rgba(11, 22, 51, 0.15);
	border-radius: 14px;
	color: var(--aq-ink);
	display: flex;
	font-size: 15px;
	font-weight: 500;
	gap: 12px;
	line-height: 1.35;
	min-width: 0;
	padding: 13px 16px;
	text-align: left;
	transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease, transform 150ms ease;
	width: 100%;
}

#aq-root .aq-option:hover {
	background: rgba(40, 204, 193, 0.08);
	border-color: var(--aq-teal);
}

#aq-root .aq-option:active {
	transform: scale(0.985);
}

#aq-root .aq-option:focus-visible {
	outline: 2px solid var(--aq-teal-deep);
	outline-offset: 2px;
}

#aq-root .aq-option[aria-checked="true"] {
	background: var(--aq-navy);
	border-color: var(--aq-navy);
	color: #fff;
}

#aq-root .aq-option__mark {
	align-items: center;
	border: 1.5px solid rgba(11, 22, 51, 0.25);
	border-radius: 50%;
	color: transparent;
	display: flex;
	flex-shrink: 0;
	height: 22px;
	justify-content: center;
	transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease;
	width: 22px;
}

#aq-root .aq-option__mark--box {
	border-radius: 7px;
}

#aq-root .aq-option__mark svg {
	height: 12px;
	width: 12px;
}

#aq-root .aq-option[aria-checked="true"] .aq-option__mark {
	background: var(--aq-teal);
	border-color: var(--aq-teal);
	color: #012622;
}

#aq-root .aq-option__label {
	min-width: 0;
}

/* The first paint, before the script draws the real controls. */
#aq-root .aq-options--static li {
	background: #fff;
	border: 1px solid rgba(11, 22, 51, 0.15);
	border-radius: 14px;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.35;
	padding: 13px 16px;
}

#aq-root .aq-note {
	color: var(--aq-slate);
	font-size: 14px;
	margin-top: 16px;
}

#aq-root .aq-password form {
	display: grid;
	gap: 14px;
	margin-top: 16px;
}

#aq-root .aq-password p {
	color: var(--aq-slate);
	font-size: 14px;
}

#aq-root .aq-password input[type="password"] {
	background: #fff;
	border: 1px solid rgba(11, 22, 51, 0.2);
	border-radius: 12px;
	color: var(--aq-ink);
	display: block;
	font-size: 14px;
	margin-top: 6px;
	padding: 13px 14px;
	width: 100%;
}

#aq-root .aq-password input[type="submit"] {
	background: var(--aq-red);
	border: 0;
	border-radius: 40px 0 40px 40px;
	color: #fff;
	cursor: pointer;
	font-size: 15px;
	font-weight: 700;
	margin-top: 8px;
	padding: 15px 28px;
}

#aq-root .aq-password input[type="submit"]:hover {
	background: var(--aq-red-bright);
}

#aq-root .aq-actions {
	align-items: center;
	display: flex;
	gap: 12px;
	margin-top: auto;
	padding-top: 28px;
}

#aq-root .aq-next,
#aq-root .aq-cta {
	align-items: center;
	background: var(--aq-red);
	border-radius: 40px 0 40px 40px;
	color: #fff;
	display: inline-flex;
	font-size: 15px;
	font-weight: 700;
	gap: 10px;
	justify-content: center;
	line-height: 1.3;
	padding: 17px 28px;
	text-decoration: none;
	transition: background-color 200ms ease;
}

#aq-root .aq-next {
	flex: 1;
}

#aq-root .aq-next:hover:not(:disabled),
#aq-root .aq-cta:hover {
	background: var(--aq-red-bright);
}

#aq-root .aq-next:disabled {
	background: rgba(181, 5, 37, 0.35);
}

#aq-root .aq-next svg,
#aq-root .aq-cta svg {
	transition: transform 200ms ease;
}

#aq-root .aq-next:hover:not(:disabled) svg,
#aq-root .aq-cta--small:hover svg {
	transform: translateX(4px);
}

#aq-root .aq-next:focus-visible,
#aq-root .aq-cta:focus-visible,
#aq-root .aq-back:focus-visible,
#aq-root .aq-ghost:focus-visible,
#aq-root .aq-link:focus-visible {
	outline: 2px solid var(--aq-teal);
	outline-offset: 3px;
}

#aq-root .aq-back {
	align-items: center;
	color: var(--aq-slate);
	display: inline-flex;
	font-size: 13px;
	font-weight: 600;
	gap: 4px;
	padding: 12px 8px;
}

#aq-root .aq-back:hover:not(:disabled) {
	color: var(--aq-ink);
}

#aq-root .aq-error {
	background: rgba(181, 5, 37, 0.08);
	border-radius: 12px;
	color: var(--aq-red);
	font-size: 13px;
	font-weight: 500;
	line-height: 1.5;
	margin-top: 16px;
	padding: 10px 14px;
}

/* ---------- lead form ---------- */

#aq-root .aq-fields {
	display: grid;
	gap: 18px 16px;
	grid-template-columns: minmax(0, 1fr);
	margin-top: 22px;
}

#aq-root .aq-field {
	display: block;
	min-width: 0;
}

#aq-root .aq-field > span {
	color: var(--aq-slate);
	display: block;
	font-size: 14px;
	font-weight: 600;
	margin-bottom: 7px;
}

#aq-root .aq-field em {
	font-style: normal;
	font-weight: 400;
}

#aq-root .aq-field input {
	appearance: auto;
	background: #fff;
	border: 1px solid rgba(11, 22, 51, 0.15);
	border-radius: 12px;
	box-shadow: none;
	color: var(--aq-ink);
	display: block;
	font-size: 14px;
	font-weight: 400;
	height: auto;
	line-height: 1.5;
	min-width: 0;
	padding: 13px 14px;
	transition: border-color 150ms ease;
	width: 100%;
}

#aq-root .aq-field input::placeholder {
	color: #9aa4b6;
	opacity: 1;
}

#aq-root .aq-field input:focus {
	outline: 2px solid var(--aq-teal);
	outline-offset: 2px;
}

#aq-root .aq-field input[aria-invalid="true"]:not(:focus) {
	border-color: var(--aq-red);
}

#aq-root .aq-consent {
	align-items: flex-start;
	cursor: pointer;
	display: flex;
	gap: 12px;
	margin-top: 20px;
	position: relative;
}

#aq-root .aq-consent input {
	height: 22px;
	left: 0;
	opacity: 0;
	position: absolute;
	top: 0;
	width: 22px;
}

#aq-root .aq-consent__box {
	align-items: center;
	background: #fff;
	border: 1.5px solid rgba(11, 22, 51, 0.25);
	border-radius: 7px;
	color: transparent;
	display: flex;
	flex-shrink: 0;
	height: 22px;
	justify-content: center;
	transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease;
	width: 22px;
}

#aq-root .aq-consent__box svg {
	height: 12px;
	width: 12px;
}

#aq-root .aq-consent input:checked + .aq-consent__box {
	background: var(--aq-teal);
	border-color: var(--aq-teal);
	color: #012622;
}

#aq-root .aq-consent input:focus-visible + .aq-consent__box {
	outline: 2px solid var(--aq-teal-deep);
	outline-offset: 2px;
}

#aq-root .aq-consent__text {
	color: #3a445c;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.5;
}

#aq-root .aq-consent__text a {
	color: var(--aq-teal-deep);
	font-weight: 500;
	text-decoration: underline;
}

/* ---------- working ---------- */

#aq-root .aq-working {
	align-items: center;
	justify-content: center;
	text-align: center;
}

#aq-root .aq-working__bar {
	background: rgba(11, 22, 51, 0.1);
	border-radius: 999px;
	display: block;
	height: 6px;
	margin-bottom: 28px;
	overflow: hidden;
	width: 160px;
}

#aq-root .aq-working__bar span {
	animation: aq-slide 1100ms ease-in-out infinite;
	background: var(--aq-teal-deep);
	border-radius: inherit;
	display: block;
	height: 100%;
	width: 45%;
}

#aq-root .aq-working__list {
	margin-top: 18px;
}

#aq-root .aq-working__list li {
	animation: aq-rise 420ms var(--aq-ease) both;
	color: var(--aq-slate);
	font-size: 14px;
	font-weight: 400;
	line-height: 1.9;
}

#aq-root .aq-working__list li:nth-child(2) { animation-delay: 280ms; }
#aq-root .aq-working__list li:nth-child(3) { animation-delay: 560ms; }

#aq-root .aq-working .aq-actions {
	margin-top: 20px;
	padding-top: 0;
	width: 100%;
}

/* ---------- results ---------- */

#aq-root .aq-hero--result {
	padding-bottom: 88px;
}

#aq-root .aq-band__lede {
	color: #3a445c;
	font-size: 17px;
	font-weight: 400;
	line-height: 1.6;
	margin-top: 14px;
	max-width: 820px;
}

#aq-root .aq-result__intro strong {
	color: var(--aq-teal);
	font-weight: 600;
}

#aq-root .aq-result__intro .aq-result__priority {
	display: block;
	font-size: 22px;
	line-height: 1.3;
	margin-top: 12px;
}

#aq-root .aq-download {
	margin-top: 32px;
}

#aq-root .aq-download .aq-cta {
	font-size: 16px;
	padding: 19px 34px;
}

#aq-root .aq-download__meta {
	color: #94a3b8;
	font-size: 13px;
	font-weight: 400;
	margin-top: 12px;
}

#aq-root .aq-prompt {
	align-items: flex-start;
	animation: aq-rise 480ms var(--aq-ease) both;
	background: rgba(40, 204, 193, 0.12);
	border: 1px solid rgba(40, 204, 193, 0.35);
	border-radius: 18px;
	display: flex;
	gap: 14px;
	margin-top: 22px;
	max-width: 520px;
	padding: 18px 20px;
}

#aq-root .aq-prompt__icon {
	align-items: center;
	background: var(--aq-teal);
	border-radius: 50%;
	color: #012622;
	display: flex;
	flex-shrink: 0;
	height: 32px;
	justify-content: center;
	width: 32px;
}

#aq-root .aq-prompt__title {
	color: #fff;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.4;
}

#aq-root .aq-prompt__text {
	color: var(--aq-mist);
	font-size: 14px;
	font-weight: 400;
	line-height: 1.55;
	margin-top: 4px;
}

#aq-root .aq-prompt__button {
	align-items: center;
	background: var(--aq-teal);
	border-radius: 999px;
	color: #012622;
	display: inline-flex;
	font-size: 14px;
	font-weight: 700;
	gap: 8px;
	margin-top: 14px;
	padding: 10px 18px;
	transition: background-color 150ms ease;
}

#aq-root .aq-prompt__button:hover,
#aq-root .aq-prompt__button:focus-visible {
	background: #fff;
}

#aq-root .aq-card--summary {
	padding: 26px 22px;
}

#aq-root .aq-card__title {
	color: var(--aq-ink);
	font-size: 20px;
	font-weight: 600;
	line-height: 1.25;
}

#aq-root .aq-card__title--small {
	color: var(--aq-teal-deep);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.14em;
	margin-top: 28px;
	text-transform: uppercase;
}

#aq-root .aq-checks {
	display: grid;
	gap: 12px;
	margin-top: 16px;
}

#aq-root .aq-checks li {
	align-items: flex-start;
	color: var(--aq-ink);
	display: flex;
	font-size: 15px;
	font-weight: 400;
	gap: 10px;
	line-height: 1.45;
}

#aq-root .aq-checks svg {
	color: var(--aq-teal-deep);
	margin-top: 3px;
}

#aq-root .aq-summary {
	display: grid;
	gap: 8px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin-top: 12px;
}

#aq-root .aq-summary > div {
	background: rgba(255, 255, 255, 0.7);
	border-radius: 12px;
	min-width: 0;
	padding: 10px 12px;
}

#aq-root .aq-summary dt {
	color: var(--aq-slate);
	font-size: 11px;
	font-weight: 600;
	line-height: 1.4;
}

#aq-root .aq-summary dd {
	color: var(--aq-ink);
	font-size: 14px;
	font-weight: 500;
	line-height: 1.35;
	margin-top: 2px;
}

#aq-root .aq-band {
	padding: 72px 0;
	position: relative;
}

#aq-root .aq-band--silver {
	background: linear-gradient(165deg, #f7f9fc, #e9edf4 48%, #d9dfec);
	color: var(--aq-ink);
}

#aq-root .aq-band--dark {
	background:
		radial-gradient(900px 460px at 12% 0, rgba(40, 204, 193, 0.13), transparent 70%),
		radial-gradient(760px 420px at 95% 100%, rgba(40, 204, 193, 0.1), transparent 70%),
		var(--aq-navy);
}

#aq-root .aq-band__title {
	color: var(--aq-navy);
	font-size: 30px;
	font-weight: 600;
	letter-spacing: -0.02em;
	line-height: 1.15;
	margin-top: 0;
}

#aq-root .aq-band__title--light {
	color: #fff;
}

#aq-root .aq-band__title--light span {
	color: var(--aq-teal);
}

#aq-root .aq-areas {
	display: grid;
	gap: 20px;
	grid-template-columns: minmax(0, 1fr);
	margin-top: 40px;
}

#aq-root .aq-area {
	background: #fff;
	border: 1px solid rgba(0, 8, 35, 0.1);
	border-radius: 24px;
	padding: 26px 24px;
}

#aq-root .aq-area h3 {
	color: var(--aq-teal-deep);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

#aq-root .aq-area ul {
	display: grid;
	gap: 16px;
	margin-top: 18px;
}

#aq-root .aq-area li {
	color: #26314d;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.55;
}

#aq-root .aq-area li + li {
	border-top: 1px solid rgba(0, 8, 35, 0.08);
	padding-top: 16px;
}

#aq-root [data-aq-reveal] {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 700ms var(--aq-ease), transform 700ms var(--aq-ease);
}

#aq-root [data-aq-reveal].is-visible {
	opacity: 1;
	transform: none;
}

/* ---------- demo ---------- */

#aq-root .aq-demo__grid {
	display: grid;
	gap: 40px;
	grid-template-columns: minmax(0, 1fr);
}

#aq-root .aq-demo__grid > * {
	min-width: 0;
}

#aq-root .aq-demo__lede {
	color: var(--aq-mist);
	font-size: 17px;
	line-height: 1.6;
	margin-top: 18px;
	max-width: 640px;
}

#aq-root .aq-points {
	display: grid;
	gap: 16px;
	margin-top: 32px;
}

#aq-root .aq-points li {
	align-items: center;
	color: #fff;
	display: flex;
	font-size: 19px;
	font-weight: 600;
	gap: 16px;
	line-height: 1.3;
}

#aq-root .aq-points__icon {
	align-items: center;
	background: rgba(40, 204, 193, 0.12);
	border-radius: 16px;
	color: var(--aq-teal);
	display: flex;
	flex-shrink: 0;
	height: 44px;
	justify-content: center;
	width: 44px;
}

#aq-root .aq-demo__card {
	position: relative;
}

#aq-root .aq-booking {
	display: block;
}

#aq-root .aq-booking.is-invited {
	animation: aq-invite 1.6s ease-in-out 2;
}

#aq-root .aq-zone {
	color: var(--aq-slate);
	font-size: 15px;
	margin: 8px 0 22px;
}

#aq-root .aq-zone strong {
	color: var(--aq-ink);
	font-weight: 600;
}

#aq-root .aq-schedule {
	display: grid;
	gap: 22px;
	grid-template-columns: minmax(0, 1fr);
}

#aq-root .aq-cal__head {
	align-items: center;
	display: flex;
	justify-content: space-between;
	margin-bottom: 12px;
}

#aq-root .aq-cal__head strong {
	color: var(--aq-ink);
	font-size: 14px;
	font-weight: 700;
}

#aq-root .aq-cal__head button {
	align-items: center;
	border-radius: 8px;
	color: var(--aq-ink);
	display: flex;
	height: 32px;
	justify-content: center;
	transition: background-color 150ms ease;
	width: 32px;
}

#aq-root .aq-cal__head button:hover:not(:disabled) {
	background: rgba(11, 22, 51, 0.06);
}

#aq-root .aq-cal__head button:disabled {
	opacity: 0.25;
}

#aq-root .aq-cal__grid {
	display: grid;
	gap: 4px;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	text-align: center;
}

#aq-root .aq-cal__grid > span {
	color: var(--aq-slate);
	font-size: 11px;
	font-weight: 700;
	padding-bottom: 6px;
	text-transform: uppercase;
}

#aq-root .aq-cal__grid button {
	background: rgba(40, 204, 193, 0.08);
	border: 1px solid rgba(40, 204, 193, 0.5);
	border-radius: 50%;
	color: var(--aq-ink);
	font-size: 13px;
	font-weight: 500;
	height: 36px;
	margin: 0 auto;
	transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease;
	width: 36px;
}

#aq-root .aq-cal__grid button:hover:not(:disabled) {
	background: var(--aq-teal);
	border-color: var(--aq-teal);
	color: #012622;
}

#aq-root .aq-cal__grid button:disabled {
	background: transparent;
	border-color: transparent;
	color: rgba(11, 22, 51, 0.25);
}

#aq-root .aq-booking button[aria-pressed="true"],
#aq-root .aq-booking button[aria-pressed="true"]:hover {
	background: var(--aq-navy);
	border-color: var(--aq-navy);
	color: #fff;
}

#aq-root .aq-booking button:focus-visible {
	outline: 2px solid var(--aq-teal-deep);
	outline-offset: 2px;
}

#aq-root .aq-times h4 {
	color: var(--aq-ink);
	font-size: 13px;
	font-weight: 600;
	margin: 6px 0 12px;
}

#aq-root .aq-times p {
	color: var(--aq-slate);
	font-size: 13px;
	font-weight: 400;
}

#aq-root .aq-slots {
	display: grid;
	gap: 8px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	max-height: 240px;
	overflow-y: auto;
	padding: 2px 6px 2px 2px;
	scrollbar-color: var(--aq-teal) transparent;
	scrollbar-width: thin;
}

#aq-root .aq-slots button {
	background: #fff;
	border: 1px solid rgba(11, 22, 51, 0.15);
	border-radius: 8px;
	color: var(--aq-ink);
	font-size: 12px;
	font-weight: 600;
	padding: 10px 3px;
	text-align: center;
	transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease;
}

#aq-root .aq-slots button:hover {
	border-color: var(--aq-teal);
}

#aq-root .aq-pick {
	align-items: center;
	background: rgba(40, 204, 193, 0.15);
	border-radius: 12px;
	color: var(--aq-ink);
	display: flex;
	font-size: 13px;
	font-weight: 600;
	gap: 10px;
	margin-top: 22px;
	padding: 12px 14px;
}

#aq-root .aq-pick svg {
	color: var(--aq-teal-deep);
}

#aq-root .aq-fields--booking {
	margin-top: 20px;
}

#aq-root .aq-as {
	color: var(--aq-slate);
	font-size: 13px;
	font-weight: 400;
	line-height: 1.5;
	margin-top: 16px;
	overflow-wrap: anywhere;
}

#aq-root .aq-as strong {
	color: var(--aq-ink);
	font-weight: 600;
}

#aq-root .aq-notice {
	color: var(--aq-slate);
	font-size: 13px;
	font-weight: 400;
	margin-bottom: 12px;
}

#aq-root .aq-link {
	color: var(--aq-teal-deep);
	font-size: 13px;
	font-weight: 600;
	margin-bottom: 18px;
	text-decoration: underline;
}

#aq-root .aq-booking .aq-actions {
	padding-top: 24px;
}

#aq-root .aq-booked {
	padding: 36px 0;
	text-align: center;
}

#aq-root .aq-booked__check {
	align-items: center;
	animation: aq-pop 520ms var(--aq-ease) both;
	background: rgba(40, 204, 193, 0.14);
	border-radius: 50%;
	color: var(--aq-teal-deep);
	display: flex;
	height: 64px;
	justify-content: center;
	margin: 0 auto 22px;
	width: 64px;
}

#aq-root .aq-booked__check svg {
	height: 28px;
	width: 28px;
}

#aq-root .aq-booked p {
	color: #3a445c;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.6;
	margin-top: 12px;
}

#aq-root .aq-booked .aq-booked__time {
	color: var(--aq-ink);
	font-size: 16px;
	font-weight: 600;
}

#aq-root .aq-booked strong {
	font-weight: 600;
}

/* ---------- closing bar ---------- */

#aq-root .aq-close {
	background: var(--aq-navy);
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	padding: 28px 0;
}

#aq-root .aq-close__inner {
	align-items: flex-start;
	display: flex;
	flex-direction: column;
	gap: 18px;
}

#aq-root .aq-close__text {
	color: #94a3b8;
	font-size: 14px;
	font-weight: 400;
}

#aq-root .aq-close__text--done {
	color: #fff;
	font-size: 16px;
	font-weight: 500;
}

#aq-root .aq-close__actions {
	align-items: center;
	display: flex;
	gap: 8px;
}

#aq-root .aq-cta--small {
	font-size: 14px;
	padding: 13px 26px;
}

#aq-root .aq-ghost {
	border-radius: 999px;
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	padding: 12px 18px;
	transition: background-color 150ms ease;
}

#aq-root .aq-ghost:hover {
	background: rgba(255, 255, 255, 0.08);
}

#aq-root .aq-ghost--dark {
	color: var(--aq-slate);
	margin-top: 18px;
}

#aq-root .aq-ghost--dark:hover {
	background: rgba(11, 22, 51, 0.06);
	color: var(--aq-ink);
}

/* ---------- unlock dialog ---------- */

#aq-root .aq-dialog {
	background: transparent;
	border: 0;
	margin: auto;
	max-height: calc(100% - 32px);
	max-width: 560px;
	overflow: visible;
	width: calc(100% - 32px);
}

#aq-root .aq-dialog::backdrop {
	background: rgba(0, 8, 35, 0.72);
}

#aq-root .aq-dialog .aq-card {
	max-height: calc(100vh - 32px);
	overflow-y: auto;
}

#aq-root .aq-dialog__close {
	align-items: center;
	border-radius: 50%;
	color: var(--aq-slate);
	display: flex;
	font-size: 24px;
	height: 36px;
	justify-content: center;
	line-height: 1;
	position: absolute;
	right: 14px;
	top: 14px;
	width: 36px;
	z-index: 1;
}

#aq-root .aq-dialog__close:hover {
	background: rgba(11, 22, 51, 0.06);
	color: var(--aq-ink);
}

/* A narrow card: tighter buttons, so a longer label still fits on one line. */
@container (max-width: 380px) {
	#aq-root .aq-next {
		gap: 8px;
		padding: 17px 14px;
	}

	#aq-root .aq-back {
		padding: 12px 4px;
	}
}

/* ---------- wider screens ---------- */

@container (min-width: 430px) {
	#aq-root .aq-options--grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	#aq-root .aq-fields {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	/* An odd field out takes the full row instead of leaving a hole beside it. */
	#aq-root .aq-fields .aq-field:last-child:nth-child(odd) {
		grid-column: 1 / -1;
	}
}

@container (min-width: 500px) {
	#aq-root .aq-schedule {
		grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
	}

	#aq-root .aq-slots {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 640px) {
	#aq-root .aq-hero__title {
		font-size: 50px;
	}

	#aq-root .aq-hero__lede {
		font-size: 21px;
	}

	#aq-root .aq-result__intro .aq-result__priority {
		font-size: 26px;
	}

	#aq-root .aq-card {
		padding: 34px 36px 36px;
	}

	#aq-root .aq-step__title {
		font-size: 26px;
	}

	#aq-root .aq-band {
		padding: 96px 0;
	}

	#aq-root .aq-band__title {
		font-size: 42px;
	}

	#aq-root .aq-area {
		padding: 32px;
	}

	#aq-root .aq-close__inner {
		align-items: center;
		flex-direction: row;
		justify-content: space-between;
	}
}

@media (min-width: 900px) {
	#aq-root .aq-areas {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	/* A lone area reads better at full width than stranded in a half-empty row. */
	#aq-root .aq-areas .aq-area:only-child,
	#aq-root .aq-areas .aq-area:last-child:nth-child(odd) {
		grid-column: 1 / -1;
	}
}

@media (min-width: 1024px) {
	#aq-root .aq-hero {
		padding: 132px 0 104px;
	}

	#aq-root .aq-hero__grid {
		align-items: start;
		column-gap: clamp(56px, 6vw, 80px);
		grid-template-areas: "copy card" "aside card";
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		grid-template-rows: auto 1fr;
	}

	#aq-root .aq-hero__grid--result {
		grid-template-areas: "copy card";
		grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
		grid-template-rows: auto;
	}

	#aq-root .aq-demo__grid {
		align-items: start;
		gap: 56px;
		grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	}

	#aq-root .aq-band--dark .aq-band__title {
		font-size: 46px;
	}
}

@media (max-width: 479px) {
	#aq-root .aq-facts {
		gap: 10px;
		grid-template-columns: minmax(0, 1fr);
	}

	#aq-root .aq-facts li {
		align-items: center;
		flex-direction: row;
		gap: 20px;
		justify-content: space-between;
		min-height: 72px;
		padding: 16px 18px;
	}

	#aq-root .aq-facts strong {
		flex-shrink: 0;
		font-size: 28px;
	}

	#aq-root .aq-facts span {
		text-align: right;
	}

	#aq-root .aq-brief__list,
	#aq-root .aq-summary {
		grid-template-columns: minmax(0, 1fr);
	}

	#aq-root .aq-download .aq-cta {
		padding: 17px 24px;
		width: 100%;
	}
}

/* ---------- motion ---------- */

@keyframes aq-rise {
	from { opacity: 0; transform: translateY(12px); }
	to { opacity: 1; transform: translateY(0); }
}

@keyframes aq-slide {
	0% { transform: translateX(-110%); }
	100% { transform: translateX(240%); }
}

@keyframes aq-pop {
	from { opacity: 0; transform: scale(0.6); }
	to { opacity: 1; transform: scale(1); }
}

@keyframes aq-invite {
	0%, 100% { box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.85), 0 0 0 0 rgba(40, 204, 193, 0.5); }
	50% { box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.85), 0 0 0 10px rgba(40, 204, 193, 0); }
}

@media (prefers-reduced-motion: reduce) {
	#aq-root *,
	#aq-root *::before,
	#aq-root *::after {
		animation: none !important;
		transition: none !important;
	}

	#aq-root [data-aq-reveal] {
		opacity: 1;
		transform: none;
	}
}

/*
 * The page exists to finish the questionnaire and, after it, book a demo in the
 * calendar on this page, so the theme's own demo buttons are left out here, the
 * same way the Heismic template does it. Switched off in the plugin settings.
 */
.allego-quiz-page--focused #header-demo,
.allego-quiz-page--focused .a7x9k_cta-section,
.allego-quiz-page--focused section.u3gm-footer .main-footer {
	display: none;
}
