/* ==========================================================================
   Feature pages (e.g. Shoppable Video Gallery)
   Extends main.css — uses the hub's design tokens (colours, fonts, buttons).
   All new classes are prefixed "fp-" so nothing in the hub is affected.
   ========================================================================== */

html {
	scroll-behavior: smooth;
}

.fp-section {
	position: relative;
	padding: 105px 0;
}

.fp-section--tint {
	background: linear-gradient(
		129.34deg,
		rgba(255, 250, 250, 0) 8.37%,
		var(--gradient-1) 72.52%
	);
}

.fp-section .page-width {
	max-width: 1280px;
}

.fp-section .sec-heading {
	margin-bottom: 52px;
}

.fp-section .sec-heading .sec-title .accent {
	color: var(--accent);
}

.fp-section .sec-heading .sec-title,
.fp-cta h2 {
	text-wrap: balance;
}

.fp-faq .page-width {
	max-width: 1280px;
}

/* ---------- Breadcrumb ---------- */
.fp-breadcrumb {
	padding: 18px 0 0;
	font-size: 14px;
	font-family: var(--sds-ff-heading);
}

.fp-breadcrumb .page-width {
	max-width: 1280px;
}

.fp-breadcrumb ol {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	list-style: none;
	color: var(--muted);
}

.fp-breadcrumb li + li::before {
	content: "/";
	margin-right: 8px;
	color: var(--grey);
}

.fp-breadcrumb a {
	transition: 0.3s all;
}

.fp-breadcrumb a:hover {
	color: var(--accent);
}

.fp-breadcrumb [aria-current="page"] {
	color: var(--ink);
}

/* ---------- Hero ---------- */
.fp-hero {
	padding: 54px 0 96px;
}

.fp-hero .page-width {
	max-width: 1280px;
}

.fp-hero-grid {
	display: grid;
	grid-template-columns: 1.02fr 0.98fr;
	gap: 70px;
	align-items: center;
}

.fp-eyebrow {
	position: relative;
	display: inline-block;
	padding-left: 15px;
	font-size: 18px;
	font-weight: 500;
	font-family: var(--sds-ff-heading);
	color: var(--ink);
}

.fp-eyebrow::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 0;
	width: 6px;
	height: 6px;
	transform: translateY(-50%);
	background: var(--accent);
	border-radius: 50%;
}

.fp-hero h1 {
	font-size: clamp(40px, 5.1vw, 68px);
	font-weight: 700;
	margin: 14px 0 22px;
}

.fp-hero h1 .accent {
	color: var(--accent);
}

.fp-lead {
	max-width: 600px;
	margin-bottom: 30px;
	font-family: var(--sds-ff-heading);
	font-size: 21px;
	line-height: 1.5;
}

.fp-cta-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 20px 32px;
}

.fp-cta-note {
	margin-top: 16px;
	font-size: 15px;
	color: var(--muted);
}

.fp-cta-note strong {
	color: var(--ink);
	font-weight: 600;
}

.fp-trust {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 30px;
	margin-top: 36px;
	padding-top: 28px;
	border-top: 1px solid var(--line);
	list-style: none;
	font-size: 15px;
}

.fp-trust li {
	display: flex;
	align-items: center;
	gap: 9px;
}

.fp-trust .stars {
	color: var(--accent);
	letter-spacing: 2px;
}

.fp-trust b {
	color: var(--ink);
	font-family: var(--sds-ff-heading);
}

.fp-trust img {
	width: 24px;
	height: auto;
}

/* Hero media */
.fp-media {
	position: relative;
}

.fp-frame {
	position: relative;
	padding: 12px;
	background: var(--card);
	box-shadow: 0 35px 75px var(--shadow-1);
}

.fp-frame video {
	display: block;
	width: 100%;
	height: auto;
	background: var(--gradient-1);
}

.fp-chip {
	position: absolute;
	left: -18px;
	bottom: 34px;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 13px 18px;
	background: var(--card);
	box-shadow: 0 18px 45px var(--shadow-1);
	font-family: var(--sds-ff-heading);
	font-size: 15px;
	font-weight: 500;
	color: var(--ink);
}

.fp-chip i {
	display: block;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--accent);
}

/* ---------- "Works with" strip ---------- */
.fp-works {
	padding: 22px 0;
	background: var(--grey-2);
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
}

.fp-works ul {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 10px 38px;
	list-style: none;
	font-family: var(--sds-ff-heading);
	font-weight: 500;
	color: var(--ink);
}

.fp-works li.label {
	font-weight: 400;
	color: var(--muted);
}

.fp-works li:not(.label)::before {
	content: "\2713";
	margin-right: 8px;
	font-weight: 700;
	color: var(--accent);
}

/* ---------- Benefit cards / use-case cards ---------- */
.fp-cards {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
}

.fp-cards--4 {
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
}

.fp-card {
	padding: 36px 32px;
	background: var(--card);
	border: 1px solid var(--line);
	transition: 0.3s all;
}

.fp-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 20px 50px var(--shadow-2);
}

.fp-card .ic {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 54px;
	height: 54px;
	margin-bottom: 22px;
	border-radius: 50%;
	background: var(--gradient);
}

.fp-card h3 {
	margin-bottom: 12px;
	font-size: 24px;
	font-weight: 700;
}

.fp-card p {
	font-size: 17px;
	line-height: 1.55;
}

.fp-cards--4 .fp-card {
	padding: 30px 26px;
}

.fp-cards--4 .fp-card h3 {
	font-size: 21px;
}

.fp-cards--4 .fp-card p {
	font-size: 16px;
}

/* ---------- Steps ---------- */
.fp-steps {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 44px;
}

.fp-step {
	position: relative;
}

.fp-step .num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	margin-bottom: 22px;
	border-radius: 50%;
	background: var(--ink);
	color: var(--card);
	font-family: var(--sds-ff-heading);
	font-size: 19px;
	font-weight: 500;
}

.fp-step::after {
	content: "";
	position: absolute;
	top: 23px;
	left: 64px;
	right: -26px;
	border-top: 1px dashed var(--grey);
}

.fp-step:last-child::after {
	display: none;
}

.fp-step h3 {
	margin-bottom: 10px;
	font-size: 24px;
	font-weight: 700;
}

.fp-step p {
	margin-bottom: 16px;
	font-size: 17px;
	line-height: 1.55;
}

.fp-check {
	display: grid;
	gap: 9px;
	list-style: none;
	font-size: 16px;
}

.fp-check li {
	position: relative;
	padding-left: 26px;
}

.fp-check li::before {
	content: "\2713";
	position: absolute;
	top: 0;
	left: 0;
	font-weight: 700;
	color: var(--accent);
}

.fp-center-cta {
	margin-top: 52px;
	text-align: center;
}

/* ---------- Case study ---------- */
.fp-case {
	display: grid;
	grid-template-columns: 1fr;
	margin-bottom: 30px;
	background: var(--card);
	box-shadow: 0 35px 75px var(--shadow-1);
}

.fp-case-media {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 240px;
	background: var(--gradient-1);
	overflow: hidden;
}

.fp-case-media img {
	display: block;
	width: 100%;
	height: auto;
}

.fp-case-fallback {
	padding: 30px;
	text-align: center;
	font-family: var(--sds-ff-heading);
}

.fp-case-fallback b {
	display: block;
	margin-bottom: 8px;
	font-size: 40px;
	font-weight: 700;
	color: var(--ink);
}

.fp-case-fallback span {
	color: var(--muted);
}

.fp-case-body {
	padding: 46px 46px 42px;
}

.fp-case-meta {
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	color: var(--accent);
}

.fp-case-body h3 {
	margin: 12px 0 18px;
	font-size: 31px;
	font-weight: 700;
}

.fp-case-body p {
	margin-bottom: 14px;
	font-size: 17px;
	line-height: 1.6;
}

.fp-quote {
	margin: 24px 0;
	padding: 4px 0 4px 20px;
	border-left: 3px solid var(--accent);
	font-family: var(--sds-ff-heading);
	font-size: 19px;
	line-height: 1.5;
	color: var(--ink);
}

.fp-quote cite {
	display: block;
	margin-top: 8px;
	font-size: 14px;
	font-style: normal;
	color: var(--muted);
}

.fp-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 18px 0 26px;
	list-style: none;
}

.fp-chips li {
	padding: 7px 13px;
	background: var(--grey-2);
	border: 1px solid var(--line);
	font-family: var(--sds-ff-heading);
	font-size: 13.5px;
	color: var(--ink);
}

.fp-case-link {
	font-family: var(--sds-ff-heading);
	font-size: 17px;
	font-weight: 500;
	color: var(--ink);
	transition: 0.3s all;
}

.fp-case-link:hover {
	color: var(--accent);
}

.fp-invite {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 18px 30px;
	padding: 30px 36px;
	border: 1px dashed var(--grey);
	background: rgba(255, 255, 255, 0.6);
}

.fp-invite h3 {
	margin-bottom: 4px;
	font-size: 22px;
	font-weight: 700;
}

.fp-invite p {
	font-size: 16px;
}

/* ---------- Tables (plans + comparison) ---------- */
.fp-table-wrap {
	overflow-x: auto;
	background: var(--card);
	box-shadow: 0 20px 60px var(--shadow-1);
}

.fp-table {
	width: 100%;
	min-width: 660px;
	border-collapse: collapse;
	font-family: var(--sds-ff-heading);
}

.fp-table th,
.fp-table td {
	padding: 18px 20px;
	border-bottom: 1px solid var(--line);
	font-size: 16px;
	text-align: center;
}

.fp-table th:first-child,
.fp-table td:first-child {
	text-align: left;
	font-weight: 500;
	color: var(--ink);
}

.fp-table thead th {
	background: var(--grey-2);
	font-size: 18px;
	font-weight: 600;
	color: var(--ink);
}

.fp-table tbody tr:last-child td {
	border-bottom: 0;
}

.fp-table .hl {
	background: #fff6f6;
}

.fp-table thead .hl {
	background: #ffecec;
}

.fp-table .yes {
	font-weight: 700;
	color: #2e9f29;
}

.fp-table .no {
	color: #b9b9b9;
}

.fp-table .tag {
	display: block;
	width: max-content;
	margin: 6px auto 0;
	padding: 3px 9px;
	background: var(--accent);
	font-size: 12px;
	font-weight: 500;
	color: var(--card);
}

.fp-table--compare th:not(:first-child),
.fp-table--compare td:not(:first-child) {
	text-align: left;
}

.fp-table--compare td:not(:first-child) {
	font-size: 16px;
	line-height: 1.5;
	color: var(--body);
}

.fp-table--compare td.win {
	color: var(--ink);
	background: #fff6f6;
}

.fp-table-foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px 30px;
	margin-top: 30px;
}

.fp-table-foot p {
	font-size: 16px;
}

/* ---------- FAQ (reuses hub accordion styles) ---------- */
.fp-faq-intro {
	max-width: 360px;
	margin-bottom: 30px;
	font-size: 17px;
	line-height: 1.55;
}

.fp-faq .faq-main-wrap .faq-left .sec-title {
	margin-bottom: 18px;
}

/* ---------- Related reading ---------- */
.fp-links {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 22px;
}

.fp-link-card {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 18px;
	padding: 26px 24px;
	background: var(--card);
	border: 1px solid var(--line);
	transition: 0.3s all;
}

.fp-link-card:hover {
	border-color: var(--accent);
	transform: translateY(-3px);
}

.fp-link-card h3 {
	font-size: 19px;
	font-weight: 600;
	line-height: 1.3;
}

.fp-link-card span {
	font-family: var(--sds-ff-heading);
	font-size: 15px;
	font-weight: 500;
	color: var(--accent);
}

/* ---------- Final CTA ---------- */
.fp-cta {
	padding: 92px 0;
	background: var(--ink);
	text-align: center;
}

.fp-cta .page-width {
	max-width: 900px;
}

.fp-cta h2 {
	margin-bottom: 16px;
	color: var(--card);
}

.fp-cta p {
	margin-bottom: 34px;
	font-family: var(--sds-ff-heading);
	font-size: 19px;
	color: rgba(255, 255, 255, 0.78);
}

.fp-cta .fp-cta-row {
	justify-content: center;
}

.fp-cta .btn-transparent {
	color: var(--card);
}

.fp-cta .btn-transparent:hover {
	color: var(--accent);
}

/* ---------- Sticky mobile CTA ---------- */
.fp-sticky {
	display: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 1199px) {
	.fp-hero-grid {
		gap: 44px;
	}
	.fp-cards--4 {
		grid-template-columns: repeat(2, 1fr);
	}
	.fp-links {
		grid-template-columns: repeat(2, 1fr);
	}
	.fp-case-body {
		padding: 36px 32px;
	}
}

@media (max-width: 991px) {
	.fp-section {
		padding: 80px 0;
	}
	.fp-hero {
		padding: 40px 0 70px;
	}
	.fp-hero-grid {
		grid-template-columns: 1fr;
	}
	.fp-media {
		max-width: 560px;
	}
	.fp-chip {
		left: 12px;
	}
	.fp-cards {
		grid-template-columns: 1fr;
	}
	.fp-steps {
		grid-template-columns: 1fr;
		gap: 36px;
	}
	.fp-step::after {
		display: none;
	}
	.fp-case {
		grid-template-columns: 1fr;
	}
	.fp-case-media {
		min-height: 300px;
	}
}

@media (max-width: 767px) {
	.fp-section {
		padding: 64px 0;
	}
	.fp-lead {
		font-size: 18px;
	}
	.fp-cards--4,
	.fp-links {
		grid-template-columns: 1fr;
	}
	.fp-case-body {
		padding: 28px 22px;
	}
	.fp-case-body h3 {
		font-size: 26px;
	}
	.fp-invite {
		padding: 24px 22px;
	}
	.fp-cta {
		padding: 68px 0;
	}
	.fp-cta-row .btn-primary {
		width: 100%;
		text-align: center;
	}

	/* sticky CTA bar, shown after the hero scrolls out of view */
	.fp-sticky {
		position: fixed;
		right: 0;
		bottom: 0;
		left: 0;
		z-index: 60;
		display: block;
		padding: 12px 15px;
		background: var(--card);
		border-top: 1px solid var(--line);
		box-shadow: 0 -10px 30px var(--shadow-1);
		transform: translateY(110%);
		transition: transform 0.3s ease;
	}
	.fp-sticky.show {
		transform: none;
	}
	.fp-sticky .btn-primary {
		display: block;
		text-align: center;
	}
	.footer-area {
		padding-bottom: 70px;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
	.fp-card,
	.fp-link-card {
		transition: none;
	}
}
