/**
 * POS hub — scoped styles
 *
 * Loaded by hifocus_pos_assets() (inc/pos-business-types.php) on the single
 * pos-system-solutions solution post only, with hifocus-main as its declared
 * dependency.
 *
 * Every band on the page except one is the shared single-solution markup and
 * is styled by main.css. This sheet adds only:
 *
 *   1. .pos-hub — the Business types band: one card per published
 *      pos_business post, image on top, title, excerpt, "Learn more".
 *
 * On the hub (post 838) also:
 *
 *   6. .pos-hero      — full-bleed hero image under a navy scrim
 *   7. .pos-flow      — "From Delivery to Checkout": step rail, four
 *                        workflow cards, navy strip with the quote button
 *   8. .pos-fnb       — the three F&B image cards (dark band)
 *   9. .pos-hw        — the "Hardware We Supply" cards
 *  10. .pos-remote    — the remote-access panel (dark band)
 *
 * The hub's shared features reuse .pos-features (3).
 *
 * and, on the business type pages (single-pos_business.php, whose article
 * also carries .pos-page):
 *
 *   2. .pos-type__figure — the featured image in the hero
 *   3. .pos-features     — the icon grids (per-type and shared features)
 *   4. .pos-spot         — image + text spotlights, alternating sides
 *   5. .pos-others       — links to the other business types
 *
 * Every rule is scoped under .pos-page, so no other page is affected. All
 * colours, radii, spacing and easing come from the existing :root tokens.
 */

/* -------------------------------------------------- *
 * 1. Business types — white band
 *
 * White rather than sw-band--light: it sits between the dark hero and the
 * light Overview, and white keeps it distinct from the band below.
 *
 * THREE TRACKS, stepping 3 -> 2 -> 1. The whole card is the link; the
 * title names it (aria-labelledby), so the excerpt and "Learn more" are not
 * read out as part of the link name.
 *
 * Cards without a featured image get a gradient panel with the retail
 * glyph, at the same 16:10 ratio, so a mixed row stays level.
 * -------------------------------------------------- */

.pos-page .pos-hub {
	background-color: var(--color-bg);
}

.pos-page .pos-hub__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--space-md);
	margin: 0;
	padding: 0;
	list-style: none;
}

.pos-page .pos-biz {
	display: flex;
}

.pos-page .pos-biz__link {
	display: flex;
	flex: 1;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid var(--color-border);
	border-radius: var(--radius-lg);
	background-color: var(--color-bg);
	box-shadow: var(--shadow-sm);
	color: inherit;
	text-decoration: none;
	transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
}

.pos-page .pos-biz__link:hover {
	transform: translateY(-4px);
	border-color: rgba(22, 102, 232, 0.35);
	box-shadow: var(--shadow-md);
}

.pos-page .pos-biz__link:focus-visible {
	outline: 2px solid var(--color-primary);
	outline-offset: 3px;
}

.pos-page .pos-biz__media {
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background-color: var(--color-surface);
}

.pos-page .pos-biz__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s var(--ease-out);
}

.pos-page .pos-biz__link:hover .pos-biz__img {
	transform: scale(1.04);
}

.pos-page .pos-biz__placeholder {
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	background:
		radial-gradient(60% 80% at 20% 0%, rgba(34, 211, 238, 0.28) 0%, transparent 70%),
		linear-gradient(135deg, var(--navy-800) 0%, var(--navy-600) 100%);
	color: var(--cyan-300);
}

.pos-page .pos-biz__placeholder svg {
	width: 56px;
	height: 56px;
	opacity: 0.85;
}

.pos-page .pos-biz__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: var(--space-xs);
	padding: var(--space-md);
}

.pos-page .pos-biz__title {
	margin: 0;
	font-size: var(--fs-xl);
	line-height: 1.25;
}

.pos-page .pos-biz__excerpt {
	color: var(--color-muted);
	font-size: var(--fs-base);
	line-height: 1.55;
}

/* Pinned to the card foot, so the links line up across a row. */
.pos-page .pos-biz__more {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	margin-top: auto;
	padding-top: var(--space-xs);
	color: var(--color-primary);
	font-size: var(--fs-sm);
	font-weight: 600;
}

.pos-page .pos-biz__more svg {
	width: 16px;
	height: 16px;
	transition: transform 0.3s var(--ease-out);
}

.pos-page .pos-biz__link:hover .pos-biz__more svg {
	transform: translateX(3px);
}

/* -------------------------------------------------- *
 * 2. Business type hero — featured image
 *
 * Same treatment as the Time Attendance hero figure. Printed only when the
 * post has a featured image; without one, main.css keeps the hero
 * single-column through :not(:has(.sw-hero__visual)).
 * -------------------------------------------------- */

.pos-page .pos-type__figure {
	margin: 0;
	overflow: hidden;
	aspect-ratio: 4 / 3;
	border-radius: var(--radius-lg);
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.pos-page .pos-type__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

/* -------------------------------------------------- *
 * 3. Icon grids — per-type key features and shared features
 *
 * Restates the Time Attendance Key Features block (.ta-features in
 * time-attendance-solutions.css): that sheet is scoped under .ta-page and
 * cannot be reached from here without editing another live page's sheet.
 * Keep the two in step by hand until the pattern moves to main.css.
 *
 * FIVE TRACKS, stepping 5 -> 3 -> 2. The list length comes from data, so
 * a short last row simply ends on the white card. At two columns an odd
 * last cell spans the row. Circle colours are picked in PHP
 * (hifocus_pos_feature_items) so neighbours never match at any width.
 * -------------------------------------------------- */

.pos-page .pos-features {
	--pos-blue: #1666e8;
	--pos-orange: #f97316;
	--pos-green: #16a34a;
	--pos-purple: #7c3aed;
	--pos-teal: #0d9488;

	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	margin: 0;
	padding: 0;
	list-style: none;
	overflow: hidden;
	border: 1px solid var(--color-border);
	border-radius: var(--radius-lg);
	background-color: var(--color-bg);
	box-shadow: var(--shadow-md);
}

.pos-page .pos-feature {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.85rem;
	padding: var(--space-md) var(--space-sm);
	text-align: center;
	box-shadow: 1px 0 0 var(--color-border), 0 1px 0 var(--color-border);
}

.pos-page .pos-feature--blue {
	--pos-tone: var(--pos-blue);
}

.pos-page .pos-feature--orange {
	--pos-tone: var(--pos-orange);
}

.pos-page .pos-feature--green {
	--pos-tone: var(--pos-green);
}

.pos-page .pos-feature--purple {
	--pos-tone: var(--pos-purple);
}

.pos-page .pos-feature--teal {
	--pos-tone: var(--pos-teal);
}

.pos-page .pos-feature__icon {
	display: grid;
	flex: none;
	place-items: center;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background-color: var(--pos-tone, var(--pos-blue));
	color: #fff;
}

.pos-page .pos-feature__icon svg {
	width: 28px;
	height: 28px;
}

.pos-page .pos-feature__label {
	max-width: 13em;
	color: var(--color-text);
	font-size: 0.95rem;
	font-weight: 600;
	line-height: 1.35;
	text-wrap: balance;
}

/* -------------------------------------------------- *
 * 4. Feature spotlights — image + text, alternating
 *
 * --flip swaps the columns by ORDER, not DOM, so the reading order stays
 * heading -> text -> image at every width. A spotlight whose image does not
 * resolve (--text) runs its copy full width instead of leaving a hole.
 * -------------------------------------------------- */

.pos-page .pos-spots .container {
	display: grid;
	gap: var(--space-xl);
}

.pos-page .pos-spot {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	align-items: center;
	gap: var(--space-lg);
}

/* The image keeps the wide track on either side. */
.pos-page .pos-spot--flip {
	grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
}

.pos-page .pos-spot--flip .pos-spot__copy {
	order: 2;
}

.pos-page .pos-spot--text {
	grid-template-columns: minmax(0, 1fr);
	max-width: 760px;
}

.pos-page .pos-spot__title {
	margin: 0 0 var(--space-sm);
	font-size: clamp(1.5rem, 2.8vw, 2rem);
}

.pos-page .pos-spot__text {
	margin: 0;
	color: var(--color-muted);
	font-size: var(--fs-lg);
	line-height: 1.6;
}

.pos-page .pos-spot__figure {
	margin: 0;
	overflow: hidden;
	aspect-ratio: 4 / 3;
	border: 1px solid var(--color-border);
	border-radius: var(--radius-lg);
	background-color: var(--color-surface);
	box-shadow: var(--shadow-md);
}

.pos-page .pos-spot__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* -------------------------------------------------- *
 * 5. Other business types — compact link tiles
 * -------------------------------------------------- */

.pos-page .pos-others {
	background-color: var(--color-bg);
}

.pos-page .pos-others__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: var(--space-sm);
	margin: 0;
	padding: 0;
	list-style: none;
}

.pos-page .pos-other {
	display: flex;
	align-items: center;
	gap: 0.85rem;
	padding: 0.75rem 1rem 0.75rem 0.75rem;
	border: 1px solid var(--color-border);
	border-radius: var(--radius-md);
	background-color: var(--color-bg);
	box-shadow: var(--shadow-sm);
	color: var(--color-text);
	font-weight: 600;
	text-decoration: none;
	transition: border-color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}

.pos-page .pos-other:hover {
	transform: translateY(-2px);
	border-color: rgba(22, 102, 232, 0.35);
	box-shadow: var(--shadow-md);
}

.pos-page .pos-other:focus-visible {
	outline: 2px solid var(--color-primary);
	outline-offset: 3px;
}

.pos-page .pos-other__media {
	display: grid;
	flex: none;
	place-items: center;
	width: 48px;
	height: 48px;
	overflow: hidden;
	border-radius: var(--radius-md);
	background: linear-gradient(135deg, var(--navy-800) 0%, var(--navy-600) 100%);
	color: var(--cyan-300);
}

.pos-page .pos-other__media svg {
	width: 24px;
	height: 24px;
}

.pos-page .pos-other__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.pos-page .pos-other__title {
	flex: 1;
}

.pos-page .pos-other__arrow {
	flex: none;
	width: 18px;
	height: 18px;
	color: var(--color-primary);
	transition: transform 0.3s var(--ease-out);
}

.pos-page .pos-other:hover .pos-other__arrow {
	transform: translateX(3px);
}

/* -------------------------------------------------- *
 * 6. Hub hero — full-bleed image
 *
 * The hero-pos image sits behind the whole band. Its left third fades to
 * white in the source, which is where the copy sits, so the scrim runs from
 * near-opaque navy on the left to clear on the right: the text keeps the
 * site's dark-hero contrast and the counter stays visible. Without the
 * image the template prints the usual .sw-hero__bg instead.
 *
 * On narrow screens the copy spans the width, so the scrim deepens to a
 * top-to-bottom wash rather than a side one.
 * -------------------------------------------------- */

.pos-page .pos-hero--image {
	background-color: var(--navy-900);
}

.pos-page .pos-hero__img {
	position: absolute;
	inset: 0;
	z-index: -2;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 70% center;
}

.pos-page .pos-hero__scrim {
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient(90deg, rgba(6, 11, 24, 0.96) 0%, rgba(6, 11, 24, 0.9) 35%, rgba(6, 11, 24, 0.55) 60%, rgba(6, 11, 24, 0.1) 100%),
		linear-gradient(0deg, rgba(6, 11, 24, 0.55) 0%, transparent 35%);
}

/* -------------------------------------------------- *
 * 7. Workflow — "From Delivery to Checkout"
 *
 * Header row (title left, lead right), a numbered rail, four step cards and
 * a navy strip with the quote button. The rail's line runs from the centre
 * of the first column to the centre of the last; each dot carries a ring in
 * the band colour so the line seems to pass behind it.
 *
 * At 1100px and below the cards go 2 x 2 and the rail is hidden: the step
 * number moves onto each photo as a badge instead. Phones: one card a row.
 *
 * --pos-accent matches .hf-hero--pos in hero-split.css.
 * -------------------------------------------------- */

.pos-page .pos-flow {
	--pos-accent: #f5a524;
	--pos-flow-gap: var(--space-md);
}

.pos-page .pos-flow__head {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	align-items: end;
	gap: var(--space-lg);
	margin-bottom: var(--space-lg);
}

.pos-page .pos-flow__title {
	margin-bottom: 0;
}

.pos-page .pos-flow__lead {
	max-width: 34em;
	margin: 0;
	color: var(--color-muted);
	font-size: var(--fs-lg);
	line-height: 1.6;
}

.pos-page .pos-flow__rail {
	position: relative;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	justify-items: center;
	gap: var(--pos-flow-gap);
	margin-bottom: var(--space-md);
}

.pos-page .pos-flow__rail::before {
	content: "";
	position: absolute;
	top: 50%;
	right: calc((100% - 3 * var(--pos-flow-gap)) / 8);
	left: calc((100% - 3 * var(--pos-flow-gap)) / 8);
	height: 2px;
	background-color: #d0d5dd;
	transform: translateY(-50%);
}

.pos-page .pos-flow__dot,
.pos-page .pos-flow__badge {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background-color: var(--navy-800);
	color: var(--color-inverse);
	font-size: var(--fs-sm);
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	letter-spacing: 0.02em;
}

.pos-page .pos-flow__dot {
	position: relative;
	box-shadow: 0 0 0 6px var(--color-surface);
}

.pos-page .pos-flow__dot:first-child,
.pos-page .pos-flow__card:first-child .pos-flow__badge {
	background-color: var(--pos-accent);
	color: var(--navy-800);
}

.pos-page .pos-flow__cards {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: var(--pos-flow-gap);
	margin: 0;
	padding: 0;
	list-style: none;
}

.pos-page .pos-flow__card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid var(--color-border);
	border-radius: var(--radius-lg);
	background-color: var(--color-bg);
	box-shadow: 0 12px 32px -14px rgba(16, 24, 40, 0.18), var(--shadow-sm);
}

.pos-page .pos-flow__media {
	position: relative;
	height: 200px;
	background-color: var(--color-surface);
}

.pos-page .pos-flow__media--empty {
	background: linear-gradient(135deg, var(--navy-800) 0%, var(--navy-600) 100%);
}

.pos-page .pos-flow__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.pos-page .pos-flow__badge {
	position: absolute;
	top: 12px;
	left: 12px;
	display: none;
	box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.9), 0 4px 12px rgba(16, 24, 40, 0.25);
}

.pos-page .pos-flow__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.6rem;
	padding: var(--space-md);
}

.pos-page .pos-flow__chip {
	padding: 0.3rem 0.7rem;
	border-radius: 999px;
	background-color: rgba(22, 102, 232, 0.08);
	color: var(--color-primary-dark);
	font-size: 0.8125rem;
	font-weight: 600;
	line-height: 1.3;
}

.pos-page .pos-flow__card-title {
	margin: 0;
	color: var(--color-text);
	font-size: 1.2rem;
	line-height: 1.3;
}

.pos-page .pos-flow__text {
	margin: 0;
	color: var(--color-muted);
	font-size: var(--fs-base);
	line-height: 1.55;
}

/* Pinned to the card foot, so the result lines sit level across a row. */
.pos-page .pos-flow__result {
	display: flex;
	align-items: center;
	gap: 0.45rem;
	margin: auto 0 0;
	padding-top: 0.25rem;
	color: #15803d;
	font-size: var(--fs-sm);
	font-weight: 600;
}

.pos-page .pos-flow__result svg {
	flex: none;
	width: 18px;
	height: 18px;
}

.pos-page .pos-flow__strip {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: var(--space-md);
	margin-top: var(--space-lg);
	padding: var(--space-md) var(--space-lg);
	border-radius: var(--radius-xl);
	background-color: var(--navy-800);
	color: var(--color-inverse);
}

.pos-page .pos-flow__links {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--space-md);
	margin: 0;
	padding: 0;
	list-style: none;
}

.pos-page .pos-flow__link {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.pos-page .pos-flow__link-icon {
	display: grid;
	flex: none;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: var(--radius-md);
	background-color: rgba(245, 165, 36, 0.14);
	color: var(--pos-accent);
}

.pos-page .pos-flow__link-icon svg {
	width: 22px;
	height: 22px;
}

.pos-page .pos-flow__link-title {
	display: block;
	color: var(--color-inverse);
	font-size: var(--fs-base);
	font-weight: 600;
	line-height: 1.3;
}

.pos-page .pos-flow__link-text {
	display: block;
	color: rgba(255, 255, 255, 0.72);
	font-size: var(--fs-sm);
	line-height: 1.4;
}

.pos-page .pos-flow__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.55rem;
	min-height: 52px;
	padding: 0 1.75rem;
	border-radius: 999px;
	background-color: var(--pos-accent);
	color: var(--navy-800);
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
	transition: background-color 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}

.pos-page .pos-flow__cta:hover {
	background-color: #f7b543;
	color: var(--navy-800);
	transform: translateY(-1px);
}

.pos-page .pos-flow__cta:focus-visible {
	outline: 3px solid var(--color-inverse);
	outline-offset: 3px;
}

.pos-page .pos-flow__cta svg {
	flex: none;
	width: 20px;
	height: 20px;
}

@media (prefers-reduced-motion: reduce) {
	.pos-page .pos-flow__cta:hover {
		transform: none;
	}
}

/* Laptop and tablet: 2 x 2, rail off, step number on the photo. */
@media (max-width: 1100px) {
	.pos-page .pos-flow__rail {
		display: none;
	}

	.pos-page .pos-flow__cards {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.pos-page .pos-flow__media {
		height: auto;
		aspect-ratio: 16 / 10;
	}

	.pos-page .pos-flow__badge {
		display: grid;
	}

	.pos-page .pos-flow__strip {
		grid-template-columns: minmax(0, 1fr);
	}

	.pos-page .pos-flow__cta {
		justify-self: start;
	}
}

@media (max-width: 860px) {
	.pos-page .pos-flow__head {
		grid-template-columns: minmax(0, 1fr);
		gap: var(--space-sm);
	}
}

/* Phones: one card a row; the strip's items go two-up above a full-width button. */
@media (max-width: 640px) {
	.pos-page .pos-flow__cards {
		grid-template-columns: minmax(0, 1fr);
	}

	.pos-page .pos-flow__strip {
		padding: var(--space-md);
	}

	.pos-page .pos-flow__links {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: var(--space-md) var(--space-sm);
	}

	.pos-page .pos-flow__link {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.5rem;
	}

	.pos-page .pos-flow__link:last-child:nth-child(odd) {
		grid-column: 1 / -1;
	}

	.pos-page .pos-flow__cta {
		justify-self: stretch;
	}
}

/* Business type spotlights (.pos-spots also wraps their remote-access block). */
.pos-page .pos-spots .section-head {
	margin-bottom: 0;
}

.pos-page .pos-spots {
	background-color: var(--color-bg);
}

/* -------------------------------------------------- *
 * 8. F&B — three image cards on the dark band
 * -------------------------------------------------- */

.pos-page .pos-fnb {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--space-md);
	margin: 0;
	padding: 0;
	list-style: none;
}

.pos-page .pos-fnb__card {
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: var(--radius-lg);
	background-color: rgba(255, 255, 255, 0.04);
}

.pos-page .pos-fnb__figure {
	margin: 0;
	overflow: hidden;
	aspect-ratio: 16 / 10;
}

.pos-page .pos-fnb__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.pos-page .pos-fnb__body {
	padding: var(--space-md);
}

.pos-page .pos-fnb__title {
	margin: 0 0 var(--space-xs);
	color: var(--color-inverse);
	font-size: var(--fs-xl);
}

.pos-page .pos-fnb__text {
	margin: 0;
	color: rgba(255, 255, 255, 0.72);
	line-height: 1.55;
}

/* -------------------------------------------------- *
 * 9. Hardware We Supply
 *
 * A card per kind of hardware. Linked cards (one live category) lift on
 * hover; a card whose category is not in the catalogue is a plain tile;
 * a card with several categories (POS Terminals) carries one small link
 * per category under its body instead of being a link itself.
 * -------------------------------------------------- */

.pos-page .pos-hw {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: var(--space-sm);
	margin: 0;
	padding: 0;
	list-style: none;
}

.pos-page .pos-hw__item {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid var(--color-border);
	border-radius: var(--radius-lg);
	background-color: var(--color-bg);
	box-shadow: var(--shadow-sm);
	transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
}

.pos-page .pos-hw__item:has(.pos-hw__card--link:hover) {
	transform: translateY(-3px);
	border-color: rgba(22, 102, 232, 0.35);
	box-shadow: var(--shadow-md);
}

.pos-page .pos-hw__card {
	display: flex;
	flex: 1;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.6rem;
	padding: var(--space-md);
	color: var(--color-text);
	text-decoration: none;
}

.pos-page .pos-hw__card--link:focus-visible {
	outline: 2px solid var(--color-primary);
	outline-offset: -2px;
}

.pos-page .pos-hw__icon {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border-radius: var(--radius-md);
	background: var(--gradient-brand);
	color: #fff;
}

.pos-page .pos-hw__icon svg {
	width: 24px;
	height: 24px;
}

.pos-page .pos-hw__label {
	font-size: var(--fs-lg);
	font-weight: 700;
	line-height: 1.3;
}

.pos-page .pos-hw__count {
	color: var(--color-primary);
	font-size: var(--fs-sm);
	font-weight: 600;
}

.pos-page .pos-hw__links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	padding: 0 var(--space-md) var(--space-md);
}

.pos-page .pos-hw__sublink {
	display: inline-flex;
	gap: 0.3rem;
	padding: 0.3rem 0.65rem;
	border: 1px solid rgba(22, 102, 232, 0.25);
	border-radius: 999px;
	background-color: rgba(22, 102, 232, 0.06);
	color: var(--color-primary-dark);
	font-size: var(--fs-sm);
	font-weight: 600;
	text-decoration: none;
	transition: background-color 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
}

.pos-page .pos-hw__sublink:hover {
	border-color: rgba(22, 102, 232, 0.5);
	background-color: rgba(22, 102, 232, 0.12);
}

.pos-page .pos-hw__sublink:focus-visible {
	outline: 2px solid var(--color-primary);
	outline-offset: 2px;
}

.pos-page .pos-hw__subcount {
	color: var(--color-muted);
	font-weight: 500;
}

/* Shared features on the hub: a white band between the two light ones. */
.pos-page .pos-shared {
	background-color: var(--color-bg);
}

/* -------------------------------------------------- *
 * 10. Remote access — one panel on a light band
 *
 * Light, not dark: Related Products below is a dark band, and two in a row
 * would merge.
 * -------------------------------------------------- */

.pos-page .pos-remote__panel {
	display: flex;
	align-items: center;
	gap: var(--space-md);
	max-width: 880px;
	margin-inline: auto;
	padding: var(--space-lg);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-xl);
	background-color: var(--color-bg);
	box-shadow: var(--shadow-md);
}

.pos-page .pos-remote__icon {
	display: grid;
	flex: none;
	place-items: center;
	width: 72px;
	height: 72px;
	border-radius: 50%;
	background: var(--gradient-brand);
	color: #fff;
}

.pos-page .pos-remote__icon svg {
	width: 34px;
	height: 34px;
}

.pos-page .pos-remote__title {
	margin: 0 0 var(--space-xs);
	font-size: clamp(1.5rem, 2.8vw, 2rem);
}

.pos-page .pos-remote__text {
	margin: 0;
	color: var(--color-muted);
	font-size: var(--fs-lg);
	line-height: 1.6;
}

/* -------------------------------------------------- *
 * Motion + responsive
 * -------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
	.pos-page .pos-biz__link:hover,
	.pos-page .pos-biz__link:hover .pos-biz__img,
	.pos-page .pos-biz__link:hover .pos-biz__more svg,
	.pos-page .pos-hw__item:has(.pos-hw__card--link:hover),
	.pos-page .pos-other:hover,
	.pos-page .pos-other:hover .pos-other__arrow {
		transform: none;
	}
}

/* Laptop and tablet: two-up. */
@media (max-width: 1024px) {
	.pos-page .pos-hub__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.pos-page .pos-features {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.pos-page .pos-hw {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* Tablet: each spotlight stacks, copy then image whichever side it sat on. */
@media (max-width: 860px) {
	.pos-page .pos-spots .container {
		gap: var(--space-lg);
	}

	.pos-page .pos-spot,
	.pos-page .pos-spot--flip {
		grid-template-columns: minmax(0, 1fr);
		gap: var(--space-md);
	}

	.pos-page .pos-spot--flip .pos-spot__copy {
		order: 0;
	}

	.pos-page .pos-fnb {
		grid-template-columns: minmax(0, 1fr);
		max-width: 560px;
		margin-inline: auto;
	}

	.pos-page .pos-hero__scrim {
		background: linear-gradient(180deg, rgba(6, 11, 24, 0.7) 0%, rgba(6, 11, 24, 0.84) 55%, rgba(6, 11, 24, 0.94) 100%);
	}
}

/* Phones: one card per row. */
@media (max-width: 600px) {
	.pos-page .pos-hub__grid {
		grid-template-columns: 1fr;
	}

	.pos-page .pos-biz__body {
		padding: var(--space-sm);
	}

	.pos-page .pos-features {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.pos-page .pos-feature {
		gap: 0.65rem;
		padding: var(--space-sm) 0.75rem;
	}

	.pos-page .pos-feature:last-child:nth-child(odd) {
		grid-column: 1 / -1;
	}

	.pos-page .pos-feature__icon {
		width: 48px;
		height: 48px;
	}

	.pos-page .pos-feature__icon svg {
		width: 24px;
		height: 24px;
	}

	.pos-page .pos-feature__label {
		font-size: 0.875rem;
	}

	.pos-page .pos-hw {
		grid-template-columns: minmax(0, 1fr);
	}

	.pos-page .pos-hw__card {
		flex-direction: row;
		align-items: center;
		flex-wrap: wrap;
		padding: var(--space-sm);
	}

	.pos-page .pos-hw__label {
		flex: 1;
		min-width: 0;
	}

	.pos-page .pos-hw__count {
		flex: none;
	}

	.pos-page .pos-hw__links {
		padding: 0 var(--space-sm) var(--space-sm);
	}

	.pos-page .pos-remote__panel {
		flex-direction: column;
		align-items: flex-start;
		padding: var(--space-md);
	}
}
