/*
	# Feature pages (the pages under /features) and the /features "See it in action" grid (Nov 2026)
	-------------------------------------------------------------------------------
	layouts/feature.layout.php, functions/feature.functions.php. Loaded on /features
	and the feature pages only. The site sets font-size:0 on wrappers, so every text
	element sets its own size.
	-------------------------------------------------------------------------------*/



	/*	Page
	-------------------------------------------------------------------------------*/
	#rbhq_feature { position: relative; width: 100%; font-family: 'Inter', sans-serif; color: #141F38; background: #FFFFFF; }
	#rbhq_feature .ft-wrap { max-width: 1180px; margin: 0 auto; padding-left: 40px; padding-right: 40px; box-sizing: border-box; }
	#rbhq_feature a { text-decoration: none; }



	/*	Screenshot frame (also used on /features cards)
	-------------------------------------------------------------------------------*/
	.ft-shot { margin: 0; }
	.ft-shot-frame { position: relative; overflow: hidden; border-radius: 14px; background: #FFFFFF; box-shadow: 0 0 0 1px rgba(20, 31, 56, 0.08), 0 24px 60px -12px rgba(20, 31, 56, 0.22), 0 8px 20px -8px rgba(20, 31, 56, 0.10); }
	.ft-shot-bar { display: flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px; box-sizing: border-box; background: #F4F5FA; border-bottom: 1px solid #E6E8F2; }
	.ft-shot-bar i { flex: 0 0 auto; width: 10px; height: 10px; border-radius: 50%; background: #D7DAE5; }
	.ft-shot-bar b { margin: 0 auto; padding: 3px 12px; border-radius: 6px; background: #FFFFFF; box-shadow: 0 0 0 1px #E6E8F2; font-family: 'Inter', sans-serif; font-size: 12px; line-height: 16px; font-weight: 500; color: #6B7591; transform: translateX(-20px); }
	.ft-shot-frame img { display: block; width: 100%; height: auto; }
	.ft-shot-zoom { display: block; cursor: zoom-in; }
	.ft-shot figcaption { margin-top: 12px; font-size: 14px; line-height: 20px; color: #4D5A7A; text-align: center; }
	.ft-shot.is-narrow { max-width: 380px; margin-left: auto; margin-right: auto; }
	.ft-shot.is-wide .ft-shot-bar { display: none; }



	/*	Hero
	-------------------------------------------------------------------------------*/
	#rbhq_feature .ft-hero { padding: 56px 0 0; background: radial-gradient(900px 420px at 85% 0%, rgba(208, 188, 253, 0.32) 0%, rgba(208, 188, 253, 0) 70%), linear-gradient(180deg, #F6F5FF 0%, #FFFFFF 62%); }
	#rbhq_feature .rbhq-breadcrumbs { font-size: 14px; line-height: 20px; margin-bottom: 24px; }
	#rbhq_feature .ft-hero-copy { max-width: 860px; }
	#rbhq_feature .ft-kicker { margin: 0 0 12px; font-size: 14px; line-height: 20px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #356CF0; }
	#rbhq_feature .ft-title { margin: 0; font-family: 'DM Sans', sans-serif; font-size: 56px; line-height: 1.06; font-weight: 700; letter-spacing: -0.025em; color: #141F38; }
	#rbhq_feature .ft-title mark { background: none; color: #5960E8; }
	#rbhq_feature .ft-lead { margin: 20px 0 0; max-width: 760px; font-size: 20px; line-height: 1.6; color: #26375F; }
	#rbhq_feature .ft-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 28px; }
	#rbhq_feature .ft-cta { display: inline-block; padding: 14px 24px; border-radius: 10px; background-color: #356CF0; color: #FFFFFF; font-size: 16px; line-height: 20px; font-weight: 600; box-shadow: 0 10px 30px rgba(53, 108, 240, 0.25); transition: background-color .2s ease; }
	#rbhq_feature .ft-cta:hover { background-color: #2A5DE0; }
	#rbhq_feature .ft-link { font-size: 16px; line-height: 20px; font-weight: 600; color: #356CF0; }
	#rbhq_feature .ft-link::after { content: ' \2192'; }
	#rbhq_feature .ft-link:hover { text-decoration: underline; text-underline-offset: 3px; }
	#rbhq_feature .ft-note { margin: 12px 0 0; font-size: 14px; line-height: 20px; color: #4D5A7A; }
	#rbhq_feature .ft-shot-hero { margin-top: 48px; position: relative; z-index: 1; }
	#rbhq_feature .ft-shot-hero .ft-shot-frame { border-radius: 16px; box-shadow: 0 0 0 1px rgba(20, 31, 56, 0.08), 0 40px 90px -20px rgba(39, 47, 120, 0.35), 0 12px 30px -10px rgba(20, 31, 56, 0.15); }



	/*	Intro under the hero
	-------------------------------------------------------------------------------*/
	#rbhq_feature .ft-intro { padding: 64px 0 8px; }
	#rbhq_feature .ft-intro .ft-wrap > * { max-width: 780px; }
	#rbhq_feature .ft-intro p { margin: 0 0 14px; font-size: 20px; line-height: 1.65; color: #26375F; }
	#rbhq_feature .ft-intro a { color: #356CF0; text-decoration: underline; text-underline-offset: 2px; }



	/*	Sections: text beside a screenshot, alternating sides; galleries of 2-3
	-------------------------------------------------------------------------------*/
	#rbhq_feature .ft-row { padding: 72px 0; scroll-margin-top: 110px; }
	#rbhq_feature .ft-row + .ft-row { border-top: 1px solid #EEF0F6; }
	#rbhq_feature .ft-row-split .ft-wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; }
	#rbhq_feature .ft-row-flip .ft-wrap { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
	#rbhq_feature .ft-row-flip .ft-copy { order: 2; }
	#rbhq_feature .ft-row-text .ft-copy { max-width: 780px; }
	#rbhq_feature .ft-row-gallery .ft-copy { max-width: 780px; margin: 0 auto; text-align: center; }
	#rbhq_feature .ft-row-gallery .ft-copy ul { display: inline-grid; text-align: left; }
	#rbhq_feature .ft-visual-2, #rbhq_feature .ft-visual-3 { margin-top: 40px; display: grid; gap: 24px; align-items: start; }
	#rbhq_feature .ft-visual-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	#rbhq_feature .ft-visual-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	#rbhq_feature .ft-visual-2 .ft-shot-bar b, #rbhq_feature .ft-visual-3 .ft-shot-bar b { display: none; }

	#rbhq_feature .ft-copy h2 { margin: 0 0 14px; font-family: 'DM Sans', sans-serif; font-size: 36px; line-height: 1.15; font-weight: 700; letter-spacing: -0.02em; color: #141F38; }
	#rbhq_feature .ft-copy p { margin: 0 0 14px; font-size: 17px; line-height: 1.65; color: #26375F; }
	#rbhq_feature .ft-copy p:last-child { margin-bottom: 0; }
	#rbhq_feature .ft-copy ul { margin: 8px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
	#rbhq_feature .ft-copy li { position: relative; padding-left: 28px; font-size: 16px; line-height: 1.55; color: #26375F; }
	#rbhq_feature .ft-copy li::before { content: ''; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: rgba(124, 127, 242, 0.18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235960E8' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 11px no-repeat; }
	#rbhq_feature .ft-copy a { color: #356CF0; text-decoration: underline; text-underline-offset: 2px; }
	#rbhq_feature .ft-copy q, #rbhq_feature .ft-copy .ask { font-style: normal; color: #141F38; font-weight: 600; }
	#rbhq_feature .ft-copy .ft-guide { margin-top: 18px; font-size: 15px; line-height: 22px; }
	#rbhq_feature .ft-copy .ft-guide a { font-weight: 600; text-decoration: none; }
	#rbhq_feature .ft-copy .ft-guide a:hover { text-decoration: underline; }



	/*	Questions
	-------------------------------------------------------------------------------*/
	#rbhq_feature .ft-faq { padding: 72px 0; background: #F8F8FD; border-top: 1px solid #EEF0F6; }
	#rbhq_feature .ft-faq h2 { margin: 0 0 24px; font-family: 'DM Sans', sans-serif; font-size: 36px; line-height: 1.15; font-weight: 700; letter-spacing: -0.02em; color: #141F38; }
	#rbhq_feature .ft-faq-list { max-width: 860px; display: grid; gap: 12px; }
	#rbhq_feature .ft-faq details { border: 1px solid #E6E8F2; border-radius: 14px; background: #FFFFFF; }
	#rbhq_feature .ft-faq summary { position: relative; padding: 20px 56px 20px 24px; cursor: pointer; list-style: none; font-family: 'DM Sans', sans-serif; font-size: 18px; line-height: 26px; font-weight: 600; color: #141F38; }
	#rbhq_feature .ft-faq summary::-webkit-details-marker { display: none; }
	#rbhq_feature .ft-faq summary::after { content: ''; position: absolute; right: 24px; top: 50%; width: 10px; height: 10px; margin-top: -7px; border-right: 2px solid #5960E8; border-bottom: 2px solid #5960E8; transform: rotate(45deg); transition: transform .2s ease; }
	#rbhq_feature .ft-faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
	#rbhq_feature .ft-faq-a { padding: 0 24px 20px; }
	#rbhq_feature .ft-faq-a p { margin: 0 0 10px; font-size: 16px; line-height: 1.65; color: #26375F; }
	#rbhq_feature .ft-faq-a p:last-child { margin-bottom: 0; }
	#rbhq_feature .ft-faq-a a { color: #356CF0; text-decoration: underline; text-underline-offset: 2px; }



	/*	Feature cards (more features here; "See it in action" on /features)
	-------------------------------------------------------------------------------*/
	#rbhq_feature .ft-more { padding: 72px 0 80px; }
	#rbhq_feature .ft-more h2 { margin: 0 0 28px; font-family: 'DM Sans', sans-serif; font-size: 32px; line-height: 1.2; font-weight: 700; letter-spacing: -0.02em; color: #141F38; }
	.ft-cards { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
	.ft-cards-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
	.ft-cards li { display: flex; }
	.ft-card { display: flex; flex-direction: column; gap: 8px; width: 100%; padding: 0 0 22px; box-sizing: border-box; overflow: hidden; border: 1px solid #E6E8F2; border-radius: 18px; background: #FFFFFF; box-shadow: 0 5px 30px 0 rgba(20, 31, 56, 0.06); text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
	.ft-card:hover { transform: translateY(-3px); border-color: #C9D3F5; box-shadow: 0 14px 40px 0 rgba(20, 31, 56, 0.14); }
	.ft-card-img { display: block; aspect-ratio: 16 / 10; overflow: hidden; padding: 0; margin-bottom: 10px; background: #F4F5FA; border-bottom: 1px solid #EEF0F6; }
	.ft-card-img img { display: block; width: 150%; max-width: none; height: auto; transform-origin: 0 0; transition: transform .4s ease; }
	.ft-card:hover .ft-card-img img { transform: scale(1.03); }
	.ft-card strong { padding: 0 22px; font-family: 'DM Sans', sans-serif; font-size: 19px; line-height: 25px; font-weight: 600; color: #141F38; }
	.ft-card:hover strong { color: #356CF0; }
	.ft-card span:not(.ft-card-img) { padding: 0 22px; font-family: 'Inter', sans-serif; font-size: 15px; line-height: 23px; color: #4D5A7A; }



	/*	Closing band (as on /features)
	-------------------------------------------------------------------------------*/
	#rbhq_feature .ft-close { padding: 72px 0; text-align: center; color: #B8C2DA; background-color: #0B1430; background-image: radial-gradient(700px 380px at 50% 0%, rgba(124, 127, 242, 0.30) 0%, rgba(124, 127, 242, 0) 72%); }
	#rbhq_feature .ft-close h2 { margin: 0; font-family: 'DM Sans', sans-serif; font-size: 40px; line-height: 1.12; font-weight: 700; letter-spacing: -0.02em; color: #FFFFFF; }
	#rbhq_feature .ft-close p { margin: 16px auto 28px; max-width: 620px; font-size: 18px; line-height: 1.6; color: #B8C2DA; }



	/*	/features: "See it in action" and the per-section link
	-------------------------------------------------------------------------------*/
	#rbhq_features .fp-deep { padding: 56px 0 64px; }
	#rbhq_features .fp-deep h2 { margin: 0; font-family: 'DM Sans', sans-serif; font-size: 36px; line-height: 1.15; font-weight: 700; letter-spacing: -0.02em; color: #141F38; }
	#rbhq_features .fp-deep-intro { margin: 10px 0 28px; max-width: 720px; font-size: 18px; line-height: 1.6; color: #26375F; }
	#rbhq_features .fp-item-body .fp-deep-link { margin: 16px 0 0; font-size: 15px; line-height: 22px; }
	#rbhq_features .fp-item-body .fp-deep-link a { font-weight: 600; text-decoration: none; }
	#rbhq_features .fp-item-body .fp-deep-link a:hover { text-decoration: underline; }



	@media (prefers-reduced-motion: reduce) {
		.ft-card, .ft-card-img img, #rbhq_feature .ft-faq summary::after { transition: none !important; animation: none !important; }
		.ft-card:hover, .ft-card:hover .ft-card-img img { transform: none; }
	}

	@media (max-width: 1080px) {
		#rbhq_feature .ft-title { font-size: 46px; }
		#rbhq_feature .ft-row-split .ft-wrap, #rbhq_feature .ft-row-flip .ft-wrap { grid-template-columns: 1fr; gap: 32px; }
		#rbhq_feature .ft-row-flip .ft-copy { order: 0; }
		#rbhq_feature .ft-row-split .ft-copy { max-width: 780px; }
		.ft-cards, .ft-cards-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	}

	@media (max-width: 760px) {
		#rbhq_feature .ft-wrap { padding-left: 20px; padding-right: 20px; }
		#rbhq_feature .ft-hero { padding-top: 32px; }
		#rbhq_feature .ft-title { font-size: 34px; line-height: 1.12; }
		#rbhq_feature .ft-lead { font-size: 17px; }
		#rbhq_feature .ft-shot-hero { margin-top: 32px; }
		#rbhq_feature .ft-intro { padding-top: 40px; }
		#rbhq_feature .ft-intro p { font-size: 17px; }
		#rbhq_feature .ft-row, #rbhq_feature .ft-faq, #rbhq_feature .ft-more, #rbhq_feature .ft-close { padding-top: 48px; padding-bottom: 48px; }
		#rbhq_feature .ft-copy h2, #rbhq_feature .ft-faq h2 { font-size: 28px; }
		#rbhq_feature .ft-row-gallery .ft-copy { text-align: left; }
		#rbhq_feature .ft-visual-2, #rbhq_feature .ft-visual-3 { grid-template-columns: 1fr; gap: 20px; margin-top: 28px; }
		#rbhq_feature .ft-close h2 { font-size: 30px; }
		.ft-shot-bar { height: 26px; padding: 0 10px; gap: 5px; }
		.ft-shot-bar i { width: 7px; height: 7px; }
		.ft-shot-bar b { display: none; }
		.ft-shot-frame, #rbhq_feature .ft-shot-hero .ft-shot-frame { border-radius: 10px; }
		.ft-cards, .ft-cards-4 { grid-template-columns: 1fr; gap: 16px; }
		#rbhq_features .fp-deep { padding: 40px 0 44px; }
		#rbhq_features .fp-deep h2 { font-size: 28px; }
		#rbhq_features .fp-deep-intro { font-size: 16px; margin-bottom: 20px; }
	}
