/* ===========================================================================
 * The Product Formulator
 *
 * Loaded only where the widget is (it is the widget's style dependency).
 * Every rule is under `.vf-formulator` and every class carries `vff-`: the
 * prototype styled `body`, `h1`, `button` and `*`, and named its parts
 * `.card`, `.body` and `.btn`, any of which would have reached the rest of
 * the page. Colours are the site's tokens; the label colours drawn on the
 * packs are artwork and live in the script.
 * ======================================================================== */

/* The label faces. A face downloads only when a label uses it, so a visitor
   fetches at most one of these. Subsets under the SIL Open Font License,
   renamed as it asks (fonts/OFL.txt). Four of the prototype's seven faces
   are stood in for by the site's own (formulator.js, LABELS). */
@font-face { font-family: "Vff Fraunces"; src: url("../formulator/fonts/fraunces-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Vff Fraunces"; src: url("../formulator/fonts/fraunces-italic-500.woff2") format("woff2"); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: "Vff Fredoka"; src: url("../formulator/fonts/fredoka-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Vff Playfair"; src: url("../formulator/fonts/vff-playfair-italic-500.woff2") format("woff2"); font-weight: 500; font-style: italic; font-display: swap; }

.vf-formulator {
	--vff-blue: var(--vf-color-primary);
	--vff-blue-deep: var(--vf-color-primary-deep);
	--vff-sky: var(--vf-color-accent);
	--vff-sky-soft: color-mix(in srgb, var(--vf-color-accent) 30%, var(--vf-color-surface));
	--vff-on: color-mix(in srgb, var(--vf-color-primary) 5%, var(--vf-color-surface));
	--vff-tint: color-mix(in srgb, var(--vf-color-surface-tint) 55%, var(--vf-color-surface));
	--vff-line: var(--vf-color-border);
	--vff-ink: var(--vf-color-ink-900);
	--vff-ink-700: var(--vf-color-ink-700);
	--vff-ink-500: var(--vf-color-ink-500);
	--vff-ink-400: color-mix(in srgb, var(--vf-color-ink-500) 60%, var(--vf-color-surface));
	--vff-creatives: var(--vf-division-creatives);
	--vff-creatives-soft: color-mix(in srgb, var(--vf-division-creatives) 9%, var(--vf-color-surface));
	--vff-creatives-ink: color-mix(in srgb, var(--vf-division-creatives) 45%, #000);
	--vff-fulfil: var(--vf-division-fulfillment);
	--vff-fulfil-soft: color-mix(in srgb, var(--vf-division-fulfillment) 12%, var(--vf-color-surface));
	--vff-fulfil-ink: color-mix(in srgb, var(--vf-division-fulfillment) 40%, #000);
	--vff-r-tile: 10px;
	--vff-r-pill: 8px;
	--vff-ease: var(--vf-motion-ease, cubic-bezier(0.4, 0, 0.2, 1));
	--vff-settle: cubic-bezier(0.65, 0, 0.35, 1);

	color: var(--vff-ink-700);
	font-family: var(--vf-font-body);
	font-size: 17px;
	line-height: 1.55;
}

.vf-formulator *,
.vf-formulator *::before,
.vf-formulator *::after {
	box-sizing: border-box;
}

.vf-formulator button,
.vf-formulator input {
	font: inherit;
	color: inherit;
	letter-spacing: normal;
	text-transform: none;
}

.vf-formulator button {
	cursor: pointer;
}

.vf-formulator svg {
	max-width: none;
}

/* Headings: the site's display face at the formulator's own sizes. */
.vf-formulator .vff-h1,
.vf-formulator .vff-h2,
.vf-formulator .vff-h3 {
	font-family: var(--vf-font-display);
	font-weight: var(--vf-weight-regular);
	color: var(--vff-blue);
	margin: 0;
	text-wrap: balance;
}

.vf-formulator .vff-h1 {
	font-size: clamp(34px, 3.6vw, 52px);
	line-height: 1.08;
	margin: 0 0 20px;
}

.vf-formulator .vff-q__title {
	font-size: clamp(28px, 2.8vw, 40px);
	line-height: 1.15;
	margin: 0 0 10px;
}

.vf-formulator .vff-h2 {
	font-size: 22px;
	line-height: 1.2;
	margin: 0 0 16px;
}

.vf-formulator .vff-h2--sec {
	font-size: clamp(26px, 2.4vw, 32px);
	line-height: 1.12;
	margin-bottom: 14px;
}

.vf-formulator .vff-h3 {
	font-family: var(--vf-font-body);
	font-weight: var(--vf-weight-medium);
	font-size: 16px;
	line-height: 1.4;
	color: var(--vff-ink-700);
	margin: 0 0 12px;
}

.vf-formulator .vff-eyebrow {
	font-size: 12px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--vff-blue);
	margin-bottom: 18px;
	font-weight: var(--vf-weight-medium);
}

.vf-formulator .vff-lead {
	color: var(--vff-ink-700);
	font-size: 18px;
	max-width: 52ch;
	margin: 0 0 30px;
}

.vf-formulator .vff-promise {
	display: flex;
	gap: 24px;
	flex-wrap: wrap;
	margin-top: 32px;
	font-size: 15px;
}

.vf-formulator .vff-promise span {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.vf-formulator .vff-promise svg {
	width: 16px;
	height: 16px;
	color: var(--vff-blue);
}

/* Before the script: the opening screen as text. */
.vf-formulator .vff-static {
	max-width: 760px;
	padding: 24px 0 40px;
}

/* The frame. */
.vf-formulator .vff-card {
	display: flex;
	flex-direction: column;
	min-height: 720px;
}

.vf-formulator .vff-progress {
	display: grid;
	grid-template-columns: 110px 1fr;
	align-items: center;
	gap: 24px;
	min-height: 20px;
}

.vf-formulator.is-intro .vff-progress {
	display: none;
}

/* The opening screen sits at the top of the page, not centred in the frame. */
.vf-formulator.is-intro .vff-card {
	min-height: 0;
}

.vf-formulator.is-intro .vff-body {
	padding-top: 0;
}

.vf-formulator .vff-step {
	font-size: 13px;
	font-weight: var(--vf-weight-medium);
	font-variant-numeric: tabular-nums;
}

.vf-formulator .vff-rail {
	position: relative;
	height: 4px;
	background: var(--vff-tint);
	border-radius: 2px;
	overflow: hidden;
}

.vf-formulator .vff-rail__fill {
	position: absolute;
	inset: 0 auto 0 0;
	width: 0;
	background: var(--vff-blue);
	transition: width 600ms var(--vff-settle);
}

.vf-formulator .vff-body {
	flex: 1;
	display: grid;
	grid-template-columns: minmax(0, 1fr) 380px;
	gap: 56px;
	padding-top: 36px;
}

.vf-formulator .vff-body.is-wide {
	grid-template-columns: minmax(0, 1fr);
}

.vf-formulator .vff-q {
	min-width: 0;
	display: flex;
	flex-direction: column;
	animation: vff-rise 420ms var(--vff-settle) both;
}

.vf-formulator .vff-q__sub {
	max-width: 60ch;
	margin: 0 0 28px;
}

.vf-formulator .vff-q__title + .vff-q__grow {
	margin-top: 20px;
}

.vf-formulator .vff-q__grow {
	flex: 1;
}

.vf-formulator .vff-foot {
	display: flex;
	align-items: center;
	gap: 12px;
	padding-top: 36px;
}

.vf-formulator .vff-skip {
	margin-left: auto;
	color: var(--vff-ink-500);
	background: none;
	border: 0;
	padding: 0;
	text-decoration: underline;
	text-underline-offset: 4px;
}

/* Buttons. */
.vf-formulator .vff-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	min-height: 48px;
	padding: 0 22px;
	border-radius: var(--vff-r-pill);
	border: 1px solid transparent;
	font-weight: var(--vf-weight-medium);
	font-size: 15px;
	line-height: 1;
	transition: background-color 180ms var(--vff-ease), color 180ms var(--vff-ease), border-color 180ms, opacity 180ms;
}

.vf-formulator .vff-btn--fill {
	background: var(--vff-blue);
	color: var(--vf-color-on-dark);
}

.vf-formulator .vff-btn--fill:hover {
	background: var(--vff-blue-deep);
}

.vf-formulator .vff-btn--line {
	background: transparent;
	color: var(--vff-blue);
	border-color: var(--vff-blue);
}

.vf-formulator .vff-btn--line:hover {
	background: var(--vff-sky-soft);
}

.vf-formulator .vff-btn[disabled] {
	opacity: 0.4;
	cursor: not-allowed;
}

.vf-formulator .vff-btn svg {
	width: 16px;
	height: 16px;
}

/* The opening screen. */
.vf-formulator .vff-intro {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 460px;
	gap: 56px;
	align-items: center;
	flex: 1;
}

.vf-formulator .vff-intro__art {
	border-radius: 12px;
	background: var(--vff-blue);
	aspect-ratio: 1 / 1.05;
	display: grid;
	place-items: center;
	overflow: hidden;
}

.vf-formulator .vff-intro__art svg {
	width: 74%;
	height: 74%;
}

/* Choices. */
.vf-formulator .vff-cards,
.vf-formulator .vff-rows {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px 14px;
}

.vf-formulator .vff-cards {
	gap: 14px;
	max-width: 760px;
}

.vf-formulator .vff-rows--3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.vf-formulator .vff-choice {
	position: relative;
	display: block;
	width: 100%;
	text-align: left;
	background: var(--vf-color-surface);
	border: 1px solid var(--vff-line);
	border-radius: var(--vff-r-tile);
	color: var(--vff-ink);
	padding: 16px 18px 16px 50px;
	min-height: 56px;
	transition: background-color 180ms var(--vff-ease), border-color 180ms var(--vff-ease), box-shadow 180ms;
}

.vf-formulator .vff-choice:hover {
	border-color: var(--vff-ink-400);
}

.vf-formulator .vff-choice.is-on {
	border-color: var(--vff-blue);
	background: var(--vff-on);
	box-shadow: inset 0 0 0 1px var(--vff-blue);
}

.vf-formulator .vff-choice.is-off {
	color: var(--vff-ink-400);
	border-style: dashed;
	cursor: not-allowed;
	background: transparent;
}

.vf-formulator .vff-choice.is-off:hover {
	border-color: var(--vff-line);
}

.vf-formulator .vff-dot {
	position: absolute;
	left: 18px;
	top: 50%;
	width: 18px;
	height: 18px;
	margin-top: -9px;
	border-radius: 50%;
	border: 1.5px solid var(--vff-ink-400);
	background: var(--vf-color-surface);
	transition: all 180ms var(--vff-ease);
}

.vf-formulator .vff-choice.is-on .vff-dot {
	border-color: var(--vff-blue);
	background: var(--vff-blue);
	box-shadow: inset 0 0 0 4px var(--vf-color-surface);
}

.vf-formulator .vff-choice.is-off .vff-dot {
	border-color: var(--vff-line);
	background: transparent;
}

.vf-formulator .vff-choice--card {
	padding: 24px 24px 56px;
	min-height: 168px;
}

.vf-formulator .vff-choice--card .vff-dot {
	left: 24px;
	top: auto;
	bottom: 24px;
	margin: 0;
}

.vf-formulator .vff-choice__h {
	display: block;
	font-family: var(--vf-font-display);
	font-size: 22px;
	line-height: 1.2;
	color: var(--vff-blue);
	margin: 0 0 10px;
}

.vf-formulator .vff-choice__p {
	display: block;
	font-size: 15px;
	color: var(--vff-ink-700);
}

.vf-formulator .vff-t {
	display: block;
	font-weight: var(--vf-weight-medium);
	font-size: 16px;
	line-height: 1.35;
}

.vf-formulator .vff-d {
	display: block;
	color: var(--vff-ink-500);
	font-size: 14px;
	line-height: 1.45;
	margin-top: 2px;
}

.vf-formulator .vff-choice.has-input {
	display: flex;
	align-items: center;
}

.vf-formulator .vff-other {
	margin-left: 10px;
	min-width: 60px;
	flex: 1;
	background: none;
	border: 0;
	border-bottom: 1px solid currentColor;
	border-radius: 0;
	padding: 4px 0;
	font-size: 15px;
}

.vf-formulator .vff-other::placeholder {
	color: var(--vff-ink-400);
}

.vf-formulator .vff-choice--icon {
	padding-left: 82px;
	min-height: 68px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.vf-formulator .vff-ico {
	position: absolute;
	left: 42px;
	top: 50%;
	width: 34px;
	height: 34px;
	margin-top: -17px;
	color: var(--vff-blue);
}

.vf-formulator .vff-choice.is-off .vff-ico {
	color: var(--vff-ink-400);
	opacity: 0.7;
}

.vf-formulator .vff-ico svg {
	width: 100%;
	height: 100%;
}

/* Naming. */
.vf-formulator .vff-fields {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 28px 32px;
	max-width: 680px;
}

.vf-formulator .vff-field--wide {
	grid-column: 1 / -1;
}

.vf-formulator .vff-field label,
.vf-formulator .vff-label {
	display: block;
	font-size: 14px;
	font-weight: var(--vf-weight-medium);
	margin-bottom: 8px;
}

.vf-formulator .vff-field input {
	width: 100%;
	background: var(--vf-color-surface);
	border: 1px solid var(--vff-line);
	border-radius: var(--vff-r-pill);
	padding: 12px 14px;
	font-size: 17px;
	color: var(--vff-ink);
	transition: border-color 180ms;
}

.vf-formulator .vff-field input:focus,
.vf-formulator .vff-count input:focus {
	border-color: var(--vff-blue);
	outline: none;
	box-shadow: inset 0 0 0 1px var(--vff-blue);
}

.vf-formulator .vff-field input::placeholder {
	color: var(--vff-ink-400);
}

.vf-formulator .vff-chips,
.vf-formulator .vff-sync {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.vf-formulator .vff-chip {
	border: 1px solid var(--vff-line);
	background: var(--vf-color-surface);
	border-radius: var(--vff-r-pill);
	padding: 9px 16px;
	font-size: 15px;
	font-weight: var(--vf-weight-medium);
	transition: all 180ms;
}

.vf-formulator .vff-chip:hover {
	border-color: var(--vff-ink-400);
}

.vf-formulator .vff-chip.is-on {
	background: var(--vff-on);
	color: var(--vff-blue);
	border-color: var(--vff-blue);
	box-shadow: inset 0 0 0 1px var(--vff-blue);
}

/* The project. */
.vf-formulator .vff-group {
	margin-bottom: 30px;
}

.vf-formulator .vff-tiers {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
}

.vf-formulator .vff-tier {
	background: var(--vf-color-surface);
	border: 1px solid var(--vff-line);
	border-radius: var(--vff-r-tile);
	padding: 14px 16px;
	text-align: left;
	color: var(--vff-ink);
	transition: all 180ms var(--vff-ease);
}

.vf-formulator .vff-tier:hover {
	border-color: var(--vff-ink-400);
}

.vf-formulator .vff-tier.is-on {
	border-color: var(--vff-blue);
	background: var(--vff-on);
	box-shadow: inset 0 0 0 1px var(--vff-blue);
}

.vf-formulator .vff-tier b {
	display: block;
	font-weight: var(--vf-weight-medium);
	font-size: 16px;
	line-height: 1.3;
}

.vf-formulator .vff-tier small {
	display: block;
	font-size: 14px;
	line-height: 1.4;
	color: var(--vff-ink-500);
	margin-top: 3px;
	font-variant-numeric: tabular-nums;
}

.vf-formulator .vff-tier small:empty {
	display: none;
}

.vf-formulator .vff-checks {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px 20px;
	align-items: start;
}

.vf-formulator .vff-check {
	display: flex;
	align-items: center;
	gap: 10px;
	background: none;
	border: 0;
	border-radius: 4px;
	padding: 4px 0;
	text-align: left;
}

.vf-formulator .vff-check i {
	width: 20px;
	height: 20px;
	border-radius: 4px;
	border: 1.5px solid var(--vff-ink-400);
	display: inline-grid;
	place-items: center;
	flex: none;
	transition: all 160ms;
}

.vf-formulator .vff-check i svg {
	width: 12px;
	height: 12px;
	opacity: 0;
}

.vf-formulator .vff-check.is-on i {
	background: var(--vff-blue);
	border-color: var(--vff-blue);
}

.vf-formulator .vff-check.is-on i svg {
	opacity: 1;
	color: var(--vf-color-on-dark);
}

.vf-formulator .vff-hint {
	font-size: 14px;
	color: var(--vff-ink-500);
	margin: 12px 0 0;
}

.vf-formulator .vff-hint--top {
	margin: 0 0 18px;
}

.vf-formulator .vff-addon {
	margin-top: 22px;
	padding-top: 18px;
	border-top: 1px solid var(--vff-line);
}

.vf-formulator .vff-addon[hidden],
.vf-formulator .vff-count[hidden] {
	display: none;
}

.vf-formulator .vff-count {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 12px 0 0 30px;
	font-size: 15px;
}

.vf-formulator .vff-count input {
	width: 84px;
	border: 1px solid var(--vff-line);
	border-radius: var(--vff-r-pill);
	padding: 8px 10px;
	font-size: 16px;
	color: var(--vff-ink);
}

.vf-formulator .vff-xsell {
	grid-column: 1 / -1;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
	margin-top: 8px;
}

.vf-formulator .vff-xsell a,
.vf-formulator .vff-note {
	display: flex;
	gap: 12px;
	align-items: center;
	text-decoration: none;
	padding: 14px 16px;
	border-radius: var(--vff-r-tile);
	font-size: 15px;
	line-height: 1.45;
}

.vf-formulator .vff-xsell b {
	display: block;
	font-weight: var(--vf-weight-semibold);
}

.vf-formulator .vff-xsell span {
	display: block;
}

.vf-formulator .vff-xsell u,
.vf-formulator .vff-note u {
	text-decoration: underline;
	text-underline-offset: 3px;
	white-space: nowrap;
}

.vf-formulator .vff-xsell u {
	margin-left: auto;
}

.vf-formulator .vff-xsell__creatives,
.vf-formulator .vff-note {
	background: var(--vff-creatives-soft);
	color: var(--vff-creatives-ink);
}

.vf-formulator .vff-xsell__creatives b,
.vf-formulator .vff-note b {
	color: var(--vff-creatives);
}

.vf-formulator .vff-xsell__fulfil {
	background: var(--vff-fulfil-soft);
	color: var(--vff-fulfil-ink);
}

.vf-formulator .vff-xsell__fulfil b {
	color: var(--vff-fulfil-ink);
}

.vf-formulator .vff-xsell i,
.vf-formulator .vff-note i {
	width: 32px;
	height: 32px;
	border-radius: 8px;
	display: grid;
	place-items: center;
	flex: none;
	color: var(--vf-color-on-dark);
}

.vf-formulator .vff-xsell__creatives i,
.vf-formulator .vff-note i {
	background: var(--vff-creatives);
}

.vf-formulator .vff-xsell__fulfil i {
	background: var(--vff-fulfil);
}

.vf-formulator .vff-xsell i svg,
.vf-formulator .vff-note i svg {
	width: 22px;
	height: 22px;
}

.vf-formulator .vff-note {
	font-size: 14px;
	animation: vff-rise 500ms var(--vff-settle) both;
}

/* The blueprint panel. */
.vf-formulator .vff-bp {
	position: sticky;
	top: var(--vf-header-offset, 120px);
	align-self: start;
	display: grid;
	gap: 14px;
}

.vf-formulator .vff-stage {
	position: relative;
	border-radius: 12px;
	background: var(--vff-blue);
	aspect-ratio: 1 / 1.04;
	display: grid;
	place-items: center;
	overflow: hidden;
	transition: background-color 500ms var(--vff-settle);
}

.vf-formulator .vff-stage svg {
	width: 74%;
	height: 74%;
	position: relative;
	z-index: 1;
	overflow: visible;
}

.vf-formulator .vff-stage__head {
	position: absolute;
	z-index: 2;
	top: 16px;
	left: 20px;
	right: 20px;
	display: flex;
	justify-content: space-between;
	font-size: 11.5px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.75);
}

.vf-formulator .vff-stage.is-light .vff-stage__head {
	color: var(--vff-ink-500);
}

.vf-formulator .vff-spec {
	list-style: none;
	margin: 0;
	padding: 2px 2px 0;
	font-size: 15px;
}

.vf-formulator .vff-spec li {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding: 9px 0;
	border-top: 1px solid var(--vff-line);
}

.vf-formulator .vff-spec li:first-child {
	border-top: 0;
}

.vf-formulator .vff-spec li span:first-child {
	color: var(--vff-ink-500);
	flex: none;
}

.vf-formulator .vff-spec li span:last-child {
	text-align: right;
	color: var(--vff-ink);
	font-weight: var(--vf-weight-medium);
}

.vf-formulator .vff-spec li.is-empty span:last-child {
	color: var(--vff-ink-400);
	font-weight: var(--vf-weight-regular);
}

.vf-formulator .vff-swap {
	animation: vff-pop 420ms var(--vff-settle) both;
}

/* The blueprint page: the pack and the ask, the choices as pills, then the
   plan and the cost as two open sections, heading on the left. */
.vf-formulator .vff-reward__hero {
	display: grid;
	grid-template-columns: minmax(380px, 460px) minmax(0, 1fr);
	gap: 56px;
	align-items: center;
	padding-bottom: 36px;
}

.vf-formulator .vff-reward__hero .vff-bp {
	position: static;
}

.vf-formulator .vff-reward__hero .vff-stage {
	aspect-ratio: auto;
	min-height: 500px;
	border-radius: 20px;
}

.vf-formulator .vff-reward__hero .vff-stage svg {
	width: 84%;
	height: 84%;
}

.vf-formulator .vff-reward__intro .vff-eyebrow {
	margin-bottom: 14px;
}

.vf-formulator .vff-reward__intro .vff-h1 {
	margin-bottom: 16px;
}

.vf-formulator .vff-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	padding: 24px 0 8px;
	border-top: 1px solid var(--vff-line);
}

.vf-formulator .vff-pill {
	display: inline-flex;
	align-items: baseline;
	gap: 8px;
	background: var(--vff-tint);
	border-radius: 999px;
	padding: 9px 16px;
	font-size: 14.5px;
}

.vf-formulator .vff-pill small {
	color: var(--vff-ink-500);
	font-size: 13px;
}

.vf-formulator .vff-pill b {
	font-weight: var(--vf-weight-medium);
	color: var(--vff-ink);
}

.vf-formulator .vff-sec {
	display: grid;
	grid-template-columns: minmax(260px, 340px) minmax(0, 1fr);
	gap: 32px 72px;
	padding: 56px 0;
	border-top: 1px solid var(--vff-line);
	margin-top: 32px;
	align-items: start;
}

.vf-formulator .vff-sec__side > p {
	font-size: 16px;
	margin: 0 0 22px;
}

.vf-formulator .vff-total {
	border-top: 1px solid var(--vff-line);
	padding-top: 18px;
	margin-top: 26px;
	color: var(--vff-ink-500);
	font-size: 14.5px;
}

.vf-formulator .vff-total span {
	display: block;
	margin-bottom: 4px;
}

.vf-formulator .vff-total b {
	display: block;
	font-family: var(--vf-font-display);
	font-weight: var(--vf-weight-regular);
	font-size: 44px;
	line-height: 1;
	color: var(--vff-blue);
}

.vf-formulator .vff-saved {
	font-size: 14.5px;
	margin-top: 18px;
	max-width: 34ch;
}

.vf-formulator .vff-sync .vff-chip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 14px 8px 10px;
	font-size: 14px;
	box-shadow: none;
}

.vf-formulator .vff-sync .vff-chip i {
	width: 18px;
	height: 18px;
	border-radius: 50%;
	border: 1.5px solid var(--vff-ink-400);
	display: inline-grid;
	place-items: center;
	flex: none;
}

.vf-formulator .vff-sync .vff-chip i svg {
	width: 11px;
	height: 11px;
	opacity: 0;
	color: var(--vf-color-on-dark);
}

.vf-formulator .vff-sync .vff-chip.is-on {
	border-color: transparent;
	color: var(--vf-color-on-dark);
}

.vf-formulator .vff-sync .vff-chip.is-on i {
	border-color: rgba(255, 255, 255, 0.7);
}

.vf-formulator .vff-sync .vff-chip.is-on i svg {
	opacity: 1;
}

.vf-formulator .vff-sync .vff-chip[disabled] {
	cursor: default;
}

/* The plan. */
.vf-formulator .vff-gantt {
	position: relative;
	display: grid;
	grid-template-columns: minmax(170px, 0.7fr) minmax(0, 1.8fr);
	gap: 4px 20px;
	align-items: center;
	padding-bottom: 22px;
}

.vf-formulator .vff-ruler {
	grid-column: 2;
	position: relative;
	height: 16px;
	margin-bottom: 6px;
}

.vf-formulator .vff-gantt.is-plain .vff-ruler {
	height: 0;
	margin: 0;
}

.vf-formulator .vff-ruler i {
	position: absolute;
	top: 0;
	transform: translateX(-50%);
	font-size: 11px;
	font-style: normal;
	color: var(--vff-ink-400);
	white-space: nowrap;
}

.vf-formulator .vff-ruler i:first-child {
	transform: none;
}

.vf-formulator .vff-ruler i:last-child {
	transform: translateX(-100%);
}

.vf-formulator .vff-lbl {
	font-size: 15.5px;
	font-weight: var(--vf-weight-medium);
	color: var(--vff-ink);
	line-height: 1.25;
	padding: 8px 0;
}

.vf-formulator .vff-lbl small {
	display: block;
	font-weight: var(--vf-weight-regular);
	font-size: 13.5px;
	color: var(--vff-ink-500);
	margin-top: 3px;
}

.vf-formulator .vff-lbl small::before {
	content: "";
	display: inline-block;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	margin-right: 6px;
	background: var(--vff-lane, var(--vff-ink-400));
	vertical-align: 1px;
}

.vf-formulator .vff-track {
	position: relative;
	height: 16px;
	border-radius: 4px;
	background: var(--vff-tint);
}

.vf-formulator .vff-track i {
	position: absolute;
	top: 0;
	height: 100%;
	border-radius: 4px;
	background: var(--vff-lane, var(--vff-ink-400));
	transition: left 900ms var(--vff-settle), width 900ms var(--vff-settle), background 300ms;
}

.vf-formulator .vff-track i.is-you {
	background: var(--vf-color-border);
}

.vf-formulator .vff-track b {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	font-size: 12px;
	font-weight: var(--vf-weight-medium);
	color: var(--vf-color-on-dark);
	padding: 0 8px;
	white-space: nowrap;
	pointer-events: none;
	transition: left 900ms var(--vff-settle);
}

.vf-formulator .vff-track b.is-out {
	color: var(--vff-ink-500);
}

.vf-formulator .vff-track b.is-before {
	transform: translate(-100%, -50%);
}

.vf-formulator .vff-mark {
	position: absolute;
	top: 22px;
	bottom: 0;
	width: 0;
	border-left: 1.5px dashed var(--vff-blue);
	pointer-events: none;
	transition: left 900ms var(--vff-settle);
}

.vf-formulator .vff-mark::after {
	content: attr(data-label);
	position: absolute;
	bottom: -2px;
	left: 6px;
	font-size: 10.5px;
	letter-spacing: 0.04em;
	color: var(--vff-blue);
	white-space: nowrap;
}

.vf-formulator .vff-mark.is-end::after {
	left: auto;
	right: 6px;
}

.vf-formulator .vff-what {
	grid-column: 1 / -1;
	font-size: 14px;
	color: var(--vff-ink-500);
	margin: -2px 0 14px;
}

/* The cost. */
.vf-formulator .vff-drivers {
	display: grid;
	gap: 22px;
}

.vf-formulator .vff-driver {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 6px 14px;
	align-items: baseline;
}

.vf-formulator .vff-driver__n {
	font-weight: var(--vf-weight-medium);
	color: var(--vff-ink);
	font-size: 16.5px;
}

.vf-formulator .vff-driver__lvl {
	font-size: 14px;
	color: var(--vff-blue);
	font-weight: var(--vf-weight-medium);
}

.vf-formulator .vff-driver__bar {
	grid-column: 1 / -1;
	height: 8px;
	border-radius: 4px;
	background: var(--vff-tint);
	overflow: hidden;
}

.vf-formulator .vff-driver__bar i {
	display: block;
	height: 100%;
	width: 0;
	border-radius: 4px;
	background: var(--vff-sky);
	transition: width 900ms var(--vff-settle);
}

.vf-formulator .vff-driver__bar i.is-major {
	background: var(--vff-blue);
}

.vf-formulator .vff-driver__note {
	grid-column: 1 / -1;
	font-size: 14.5px;
	color: var(--vff-ink-500);
	line-height: 1.5;
}

.vf-formulator .vff-band {
	display: grid;
	gap: 18px;
	background: var(--vff-sky-soft);
	border-radius: 16px;
	padding: 22px 24px;
}

.vf-formulator .vff-k {
	display: block;
	font-size: 12px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--vff-ink-500);
	margin-bottom: 6px;
}

.vf-formulator .vff-band b {
	font-family: var(--vf-font-display);
	font-weight: var(--vf-weight-regular);
	font-size: 34px;
	line-height: 1;
	color: var(--vff-blue);
	white-space: nowrap;
}

.vf-formulator .vff-band small {
	display: block;
	font-size: 14.5px;
	line-height: 1.5;
}

/* Saving. The slot holds the page's own Elementor form. */
.vf-formulator .vff-save {
	background: var(--vff-tint);
	border-radius: 20px;
	padding: 28px 30px 26px;
}

.vf-formulator .vff-next {
	display: grid;
	gap: 8px;
	margin-top: 18px;
	font-size: 14px;
}

.vf-formulator .vff-next span {
	display: flex;
	gap: 10px;
	align-items: baseline;
}

.vf-formulator .vff-next b {
	color: var(--vff-blue);
	font-weight: var(--vf-weight-semibold);
	font-variant-numeric: tabular-nums;
	flex: none;
	width: 16px;
}

.vf-formulator .vff-done {
	display: none;
}

.vf-formulator .vff-save.is-done .vff-save__ask {
	display: none;
}

.vf-formulator .vff-save.is-done .vff-done {
	display: block;
}

.vf-formulator .vff-done p {
	font-size: 15px;
	margin: 0 0 8px;
}

.vf-formulator .vff-code {
	font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
	background: var(--vf-color-surface);
	border-radius: 8px;
	padding: 12px 16px;
	word-break: break-all;
	font-size: 13px;
	margin: 6px 0 16px;
	max-height: 7.5em;
	overflow: auto;
}

.vf-formulator .vff-save__slot .elementor-field-type-hidden,
.vf-formulator .vff-stash {
	display: none;
}

.vf-formulator .vff-save__slot .elementor-widget-form {
	margin: 0;
}

/* The form waits in its container until the script moves it in; in the
   editor it stays where it is, so it can be edited. */
body:not(.elementor-editor-active) .e-con.vf-formulator-save.vf-formulator-save.vf-formulator-save {
	display: none;
}

/* Motion. */
@keyframes vff-rise {
	from { opacity: 0; transform: translateY(10px); }
	to { opacity: 1; transform: none; }
}

@keyframes vff-pop {
	from { opacity: 0; transform: translateY(4px); }
	to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
	.vf-formulator *,
	.vf-formulator *::before,
	.vf-formulator *::after {
		animation: none !important;
		transition: none !important;
	}
}

/* Tablet: one column, the blueprint under the question. */
@media (max-width: 1100px) {
	.vf-formulator .vff-body,
	.vf-formulator .vff-intro,
	.vf-formulator .vff-reward__hero,
	.vf-formulator .vff-sec {
		grid-template-columns: minmax(0, 1fr);
	}

	.vf-formulator .vff-bp {
		position: static;
		max-width: 460px;
	}

	.vf-formulator .vff-reward__hero {
		gap: 28px;
	}

	.vf-formulator .vff-reward__hero .vff-bp {
		max-width: none;
	}

	.vf-formulator .vff-reward__hero .vff-stage {
		min-height: 0;
		aspect-ratio: 1 / 1;
	}

	.vf-formulator .vff-intro__art {
		max-width: 460px;
	}

	.vf-formulator .vff-sec {
		padding: 40px 0;
		gap: 24px;
	}

	.vf-formulator .vff-rows--3,
	.vf-formulator .vff-checks,
	.vf-formulator .vff-tiers {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* Phone. */
@media (max-width: 640px) {
	.vf-formulator .vff-card {
		min-height: 0;
	}

	.vf-formulator .vff-progress {
		grid-template-columns: minmax(0, 1fr);
		gap: 12px;
	}

	.vf-formulator .vff-body {
		padding-top: 24px;
		gap: 32px;
	}

	.vf-formulator .vff-cards,
	.vf-formulator .vff-rows,
	.vf-formulator .vff-rows--3,
	.vf-formulator .vff-checks,
	.vf-formulator .vff-tiers,
	.vf-formulator .vff-xsell,
	.vf-formulator .vff-fields,
	.vf-formulator .vff-gantt {
		grid-template-columns: minmax(0, 1fr);
	}

	.vf-formulator .vff-choice--card {
		min-height: 0;
	}

	.vf-formulator .vff-ruler {
		grid-column: 1;
	}

	.vf-formulator .vff-lbl {
		padding-top: 10px;
	}

	/* One column: the delivery line would run through the descriptions. */
	.vf-formulator .vff-mark {
		display: none;
	}

	.vf-formulator .vff-foot {
		flex-wrap: wrap;
	}

	.vf-formulator .vff-save {
		padding: 24px 20px;
	}

	.vf-formulator .vff-reward__hero .vff-stage {
		border-radius: 14px;
	}

	.vf-formulator .vff-pill {
		font-size: 13.5px;
	}
}
