/*
 * Realestech · shared primitives for the Figma-built pages added in 1.3.0
 * (Contact, Thank you, Project Sales Management).
 * Loaded only on those pages, after figma-shared.css and before each page's own CSS.
 */

.fp { overflow-x: clip; }

/* Type (style guide 2137:2) */
.fp-eyebrow {
	display: inline-flex; align-items: center; gap: 10px; min-height: 20px;
	font: 500 12px/16px var(--font-heading); letter-spacing: 1.6px; text-transform: uppercase;
	color: var(--color-text-body);
}
.fp-eyebrow__mark { width: 6px; height: 13px; flex: none; }
.fp-eyebrow--light { color: #fff; }
.fp-h1 { font: 400 72px/74.88px var(--font-heading); letter-spacing: -2.8px; color: var(--color-brand-navy); }
.fp-h2 { font: 400 48px/52.8px var(--font-heading); letter-spacing: -1.8px; color: var(--color-brand-navy); }
.fp-h2-light { font: 300 56px/60.48px var(--font-heading); letter-spacing: -2px; color: var(--color-brand-navy); }
.fp-h4 { font: 400 22px/27.5px var(--font-heading); letter-spacing: -0.5px; color: var(--color-brand-navy); }
.fp-body { font: 400 16px/26.4px var(--font-body); color: var(--color-text-body); }
.fp-muted { color: var(--color-text-muted); }
.fp-label { font: 500 12px/normal var(--font-heading); letter-spacing: 1.6px; text-transform: uppercase; color: var(--color-text-body); }
.fp-num { font: 500 11px/normal var(--font-heading); letter-spacing: 1.6px; text-transform: uppercase; color: var(--color-text-muted); }

/* Yellow placeholder tag, matches the Figma "[...]" content tags (must be replaced before launch) */
.fp-tag {
	display: inline-block; padding: 1px 6px;
	background: var(--color-status-placeholder-bg); color: var(--color-status-placeholder-text);
	font: 500 13px/20px var(--font-body);
}

/* Text link with arrow (UI/Link) */
.fp-link {
	display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
	font: 500 14px/normal var(--font-heading); color: var(--color-brand-navy); white-space: nowrap;
	transition: color .5s ease;
}
.fp-link:hover { color: var(--rt-link-hover, #3266a1); }
.fp-link img { width: 12px; height: 9px; transition: transform .2s ease, filter .5s ease; }
.fp-link:hover img { transform: translateX(3px); filter: brightness(0) saturate(100%) invert(36%) sepia(32%) saturate(802%) hue-rotate(174deg) brightness(92%) contrast(91%); }
.fp-link--go img { width: 10px; height: 10px; }
.fp-link--go:hover img { transform: translate(2px, -2px); }

/* Large CTA button (52–56px) */
.fp-btn-lg { height: 52px; padding: 0 24px; font-size: 15px; }
.fp-btn-rigel {
	height: 56px; padding: 0 28px; gap: 14px; font-size: 16px;
	background: #573bba; border-color: #573bba; /* #6D4AE8 under the 20% black overlay used in Figma */
}
.fp-btn-rigel:hover { background: #45309a; border-color: #45309a; }

.fp-section { padding-top: var(--space-section); padding-bottom: var(--space-section); }

/* Cut corner (top-right), matches the Figma "panel shape · cut corner" */
.fp-cut-40 { clip-path: polygon(0 0, calc(100% - 40px) 0, 100% 40px, 100% 100%, 0 100%); }

/* Reveal on scroll (Rules board: fade up 24px, 600ms ease-out, 80ms stagger, once) */
.fp-js .fp-reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease-out, transform .6s ease-out; transition-delay: var(--fp-delay, 0ms); }
.fp-js .fp-reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	.fp-js .fp-reveal { opacity: 1; transform: none; transition: none; }
}

/* Mobile type sizes (style guide board 02) */
@media (max-width: 1023px) {
	.fp-h1 { font-size: 56px; line-height: 60px; letter-spacing: -2.2px; }
	.fp-h2-light { font-size: 44px; line-height: 48px; letter-spacing: -1.6px; }
}
@media (max-width: 767px) {
	.fp-h1 { font-size: 40px; line-height: 44px; letter-spacing: -1.6px; }
	.fp-h2 { font-size: 32px; line-height: 36px; letter-spacing: -1.2px; }
	.fp-h2-light { font-size: 34px; line-height: 38px; letter-spacing: -1.2px; }
	.fp-h4 { font-size: 19px; line-height: 24px; letter-spacing: -0.4px; }
	.fp-cut-40 { clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 0 100%); }
}
