/*
 * styles.css
 *
 * Standalone styles for the Countertop marketing site.
 */

/* Fonts are linked from marketingHead (Layout) — avoid @import blocking first paint. */
/* =============================================
   Design tokens
   ============================================= */
:root {
	--font-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
	--font-display: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
	--display-weight: 700;
	--display-letter-spacing: -0.035em;
	--display-transform: none;
	--em-style: normal;

	--page-bg: #ffffff;
	--surface-1: #ffffff;
	--surface-2: #fafafa;
	--card: #ffffff;
	--card-alt: #f4f4f5;

	--text: #0a0a0a;
	--text-muted: #52525b;
	--text-subtle: #a1a1aa;
	--text-faint: #71717a;

	--border: rgba(0, 61, 44, 0.2);
	--border-soft: rgba(0, 61, 44, 0.12);

	--hero-eyebrow: #003d2c;
	--hero-muted: #616161;

	--accent: #003d2c;
	--accent-strong: #002419;
	--accent-contrast: #ffffff;
	--accent-soft: rgba(0, 61, 44, 0.08);
	--accent-soft-text: #003d2c;

	--radius-card: 4px;
	--radius-lg: 6px;
	--radius-input: 4px;
	--radius-pill: 4px;

	--shadow-card: none;
	--shadow-lg: 0 1px 0 rgba(0, 0, 0, 0.05);
	--shadow-img: 0 0 0 1px rgba(0, 61, 44, 0.18);

	--nav-bg: rgba(255, 255, 255, 0.9);
	--nav-blur: blur(10px);

	--hero-dot: #ededed;
	--hero-dot-size: 22px;
	--dot-subtle: #d4d4d8;

	--divider: repeating-linear-gradient(
		90deg,
		#177A3F 0%,
		#177A3F 25%,
		#FFA629 25%,
		#FFA629 50%,
		#2311F1 50%,
		#2311F1 75%,
		#FF0000 75%,
		#FF0000 100%
	);
	--divider-height: 2px;

	--eyebrow-bg: transparent;
	--eyebrow-text: #0a0a0a;

	/* dark band (testimonials) */
	--dark-bg: #0a0a0a;
	--dark-surface: #171717;
	--dark-text: #fafafa;
	--dark-text-muted: #d4d4d8;
	--dark-text-faint: #a1a1aa;
	--dark-border: #262626;

	/* per-feature accents */
	--feat-green: #003d2c;
	--feat-green-strong: #002419;
	--feat-blue: #2311F1;
	--feat-blue-strong: #1a0dc4;
	--feat-orange: #FFA629;
	--feat-orange-strong: #d98f24;
	--feat-purple: #FF0000;
	--feat-purple-strong: #cc0000;
}

/*
 * Scope the marketing reset to marketing pages only.
 * This stylesheet is injected site-wide; an unlayered `* { padding: 0 }`
 * otherwise beats Infima (layered) and collapses docs padding.
 * :where() keeps specificity at 0 so class rules still win (same as bare `*`).
 */
:where(html.ct-marketing-page, html.ct-marketing-page *) {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html.ct-marketing-page {
	scroll-behavior: smooth;
}

:where(html.ct-marketing-page) body {
	font-family: var(--font-body);
	font-size: 16px;
	color: var(--text);
	background: var(--page-bg);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

:where(html.ct-marketing-page) h1,
:where(html.ct-marketing-page) h2,
:where(html.ct-marketing-page) h3 {
	font-family: var(--font-display);
	font-weight: var(--display-weight);
	letter-spacing: var(--display-letter-spacing);
	text-transform: var(--display-transform);
	line-height: 1.15;
}

:where(html.ct-marketing-page) a {
	text-decoration: none;
	color: inherit;
}

:where(html.ct-marketing-page) img {
	max-width: 100%;
}

.ct-section {
	max-width: 1140px;
	margin: 0 auto;
	padding: 0 2em;
}

.ct-visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* =============================================
   Top nav
   ============================================= */
.ct-nav {
	position: relative;
	background: #ffffff;
	border-bottom: 1px solid var(--border);
}

.ct-nav-inner {
	max-width: 1140px;
	margin: 0 auto;
	padding: 0.85em 2em;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5em;
}

.ct-nav-brand {
	display: flex;
	align-items: center;
	gap: 0.65em;
	color: var(--text);
}

.ct-nav-brand-text {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	line-height: 1.2;
}

.ct-nav-primary {
	font-family: var(--font-display);
	font-size: 1.35em;
	font-weight: var(--display-weight);
	letter-spacing: var(--display-letter-spacing);
	color: var(--text);
}

.ct-nav-secondary {
	font-family: var(--font-body);
	font-size: 0.72em;
	font-weight: 500;
	letter-spacing: 0.06em;
	color: var(--text-muted);
	margin-top: 0.12em;
}

.ct-wordmark {
	font-family: var(--font-display);
	font-weight: var(--display-weight);
	letter-spacing: -0.03em;
	line-height: 1;
	white-space: nowrap;
}

.ct-wordmark--nav {
	font-size: 1.35em;
}

.ct-wordmark-sep {
	color: var(--text-muted);
}

.ct-wordmark-ops {
	color: var(--text);
	font-style: normal;
}

.ct-nav-logo {
	flex-shrink: 0;
	height: 40px;
	width: auto;
	object-fit: contain;
}

.ct-nav-links {
	display: flex;
	align-items: center;
	gap: 1.75em;
}

.ct-nav-links a {
	font-size: 0.9em;
	font-weight: 500;
	color: var(--text-muted);
	transition: color 0.2s ease;
}

.ct-nav-links a:hover {
	color: var(--text);
}

.ct-nav-cta {
	display: inline-flex;
	align-items: center;
	gap: 0.4em;
	background: #000000;
	color: #ffffff !important;
	font-weight: 600;
	font-size: 0.9em;
	padding: 0.6em 1.2em;
	border-radius: 999px;
	transition: background 0.2s ease;
}

.ct-nav-cta:hover {
	background: #262626;
}

@media (max-width: 760px) {
	.ct-nav-links a:not(.ct-nav-cta),
	.ct-nav-links .ct-nav-item--dropdown {
		display: none;
	}

	.ct-nav--countertop .ct-nav-link--brand {
		display: inline-flex;
	}
}

/* =============================================
   Hero banner
   ============================================= */
.ct-hero {
	padding: clamp(3.5em, 7vw, 5.5em) 0 0;
	background: #ffffff;
	position: relative;
	overflow: hidden;
}

.ct-hero::before {
	display: none;
}

.ct-hero .ct-section {
	position: relative;
	z-index: 1;
	max-width: 1200px;
	padding: 0 clamp(1.2em, 3vw, 3em);
}

.ct-hero-banner {
	max-width: 820px;
	margin: 0 auto;
	text-align: center;
}

.ct-hero-inner {
	max-width: 820px;
	margin: 0 auto;
	text-align: center;
}

.ct-hero .ct-eyebrow {
	display: inline-block;
	font-family: var(--font-body);
	font-size: 0.78em;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--hero-eyebrow, #5f7a1f);
	background: transparent;
	border: 0;
	padding: 0;
	border-radius: 0;
	margin-bottom: 1.25em;
}

.ct-hero-headline {
	font-family: var(--font-display);
	font-size: clamp(2.35em, 5.5vw, 4.1em);
	font-weight: 700;
	margin: 0 0 0.55em;
	letter-spacing: -0.04em;
	line-height: 1.05;
	color: var(--text);
}

.ct-hero-headline-platform {
	display: block;
	margin-top: 0.08em;
}

.ct-hero h1 em {
	font-style: normal;
	color: inherit;
}

.ct-hero .ct-subtitle {
	font-size: clamp(1.05em, 2vw, 1.22em);
	color: var(--hero-muted, #616161);
	max-width: 640px;
	margin: 0 auto 1.75em;
	line-height: 1.55;
}

.ct-hero .ct-subtitle strong {
	font-weight: 400;
}

.ct-hero-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.75em;
	margin-bottom: 1.15em;
}

.ct-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0.8em 1.55em;
	border-radius: 999px;
	font-family: var(--font-body);
	font-size: 0.95em;
	font-weight: 600;
	line-height: 1.2;
	border: 1px solid transparent;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.ct-btn--primary {
	background: #000000;
	color: #ffffff;
}

.ct-btn--primary:hover {
	background: #262626;
	color: #ffffff;
}

.ct-btn--secondary {
	background: #ffffff;
	color: #000000;
	border-color: #000000;
}

.ct-btn--secondary:hover {
	background: #fafafa;
	color: #000000;
}

.ct-hero-note {
	font-size: 0.88em;
	color: var(--hero-muted, #616161);
	line-height: 1.5;
}

.ct-hero-note a {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

.ct-hero-note a:hover {
	color: var(--text);
}

/* Lifestyle product stage */
.ct-hero-visual {
	margin-top: clamp(2.5em, 5vw, 4em);
}

.ct-hero-stage {
	position: relative;
	max-width: 1120px;
	margin: 0 auto;
	min-height: clamp(260px, 40vw, 500px);
	overflow: hidden;
	border-radius: 0;
}

.ct-hero-stage-bg {
	position: absolute;
	inset: 0;
	background-color: #c3d4b8;
	background-image:
		repeating-linear-gradient(
			90deg,
			rgba(255, 255, 255, 0.08) 0,
			rgba(255, 255, 255, 0.08) 1px,
			transparent 1px,
			transparent 32px
		),
		repeating-linear-gradient(
			0deg,
			rgba(0, 0, 0, 0.03) 0,
			rgba(0, 0, 0, 0.03) 1px,
			transparent 1px,
			transparent 48px
		),
		linear-gradient(180deg, #d2dfc8 0%, #b8c9ad 55%, #a8b99d 100%);
}

.ct-hero-stage-counter {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 34%;
	background: linear-gradient(180deg, #9eaa92 0%, #8d9983 100%);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.ct-hero-stage-terminal {
	position: absolute;
	bottom: 20%;
	left: calc(50% - min(220px, 28vw));
	width: clamp(52px, 6vw, 72px);
	height: clamp(88px, 11vw, 120px);
	background: linear-gradient(180deg, #2a2a2a 0%, #111111 100%);
	border-radius: 10px;
	box-shadow:
		0 12px 28px rgba(0, 0, 0, 0.22),
		inset 0 1px 0 rgba(255, 255, 255, 0.08);
	z-index: 1;
}

.ct-hero-stage-terminal::before {
	content: "";
	position: absolute;
	top: 14%;
	left: 50%;
	transform: translateX(-50%);
	width: 58%;
	height: 22%;
	border-radius: 4px;
	background: #f4f4f5;
}

.ct-hero-device {
	position: absolute;
	bottom: 6%;
	left: 50%;
	transform: translateX(-50%);
	width: min(48%, 400px);
	z-index: 2;
	padding: 12px;
	border-radius: 24px;
}

.ct-hero-device-screen {
	background: #111111;
}

.ct-hero-device-ui {
	display: flex;
	flex-direction: column;
	gap: 0.65em;
	padding: 0.85em;
	min-height: 180px;
}

.ct-hero-device-bar {
	height: 10px;
	width: 38%;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.14);
}

.ct-hero-device-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 0.45em;
	flex: 1;
}

.ct-hero-device-grid span {
	aspect-ratio: 1;
	border-radius: 6px;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.06);
}

.ct-hero-device-grid span:nth-child(3n) {
	background: rgba(150, 191, 72, 0.35);
}

.ct-hero-trust {
	text-align: center;
	padding: clamp(2em, 4vw, 3em) 0 0;
}

.ct-hero-tools {
	max-width: 960px;
	margin: 0 auto;
	padding: clamp(2.5em, 5vw, 4em) 0 clamp(3em, 6vw, 5em);
}

/* Hero product pillars */
.ct-hero-pillars {
	list-style: none;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 0.75em;
	max-width: 720px;
	margin: 0 auto 2em;
	padding: 0;
	text-align: left;
}

.ct-hero-pillars > li {
	display: flex;
}

.ct-hero-pillar {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.55em;
	flex: 1;
	width: 100%;
	background: #ffffff;
	border: 1px solid var(--border);
	border-left: 3px solid transparent;
	border-radius: 8px;
	padding: 0.85em 0.9em;
	box-shadow: none;
	text-decoration: none;
	color: inherit;
	cursor: pointer;
	transition: border-color 0.2s ease, background 0.2s ease;
}

.ct-hero-pillar:hover {
	transform: none;
	box-shadow: none;
	border-color: #000000;
	background: #fafafa;
}

.ct-hero-pillar:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 2px;
}

.ct-hero-pillar--red {
	border-left-color: var(--feat-purple);
}

.ct-hero-pillar--orange {
	border-left-color: var(--feat-orange);
}

.ct-hero-pillar--blue {
	border-left-color: var(--feat-blue);
}

.ct-hero-pillar--green {
	border-left-color: var(--feat-green);
}

.ct-hero-pillar-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 3.4em;
	height: 3.4em;
	flex-shrink: 0;
	border-radius: 14px;
	background: rgba(125, 135, 155, 0.16);
	border: 1px solid var(--border-soft);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
	overflow: hidden;
}

.ct-hero-pillar-icon .ct-pixel-illustration {
	display: block;
	width: 92%;
	height: 92%;
}

.ct-hero-pillar-text {
	display: flex;
	flex-direction: column;
	gap: 0.2em;
	font-size: 0.88em;
	line-height: 1.35;
}

.ct-hero-pillar-title {
	display: block;
	font-weight: 600;
	font-size: 1.08em;
	color: var(--text);
}

.ct-hero-pillar-desc {
	display: block;
	font-weight: 500;
	color: var(--text-muted);
}

@media (min-width: 760px) {
	.ct-hero-pillars {
		grid-template-columns: repeat(4, 1fr);
		gap: 0.75em;
	}

	.ct-hero-pillar-text {
		font-size: 0.82em;
	}
}

/* Assistant */
.ct-assistant {
	max-width: 680px;
	margin: 0 auto;
	background: var(--card);
	border: 1px solid var(--border-soft);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-lg);
	overflow: hidden;
	text-align: left;
}

.ct-assistant-head {
	display: flex;
	align-items: center;
	gap: 0.6em;
	padding: 0.9em 1.2em;
	border-bottom: 1px solid var(--border);
	background: var(--card-alt);
}

.ct-assistant-dot {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: var(--accent);
	box-shadow: 0 0 0 4px var(--accent-soft);
}

.ct-assistant-title {
	font-size: 0.85em;
	font-weight: 600;
	color: var(--text-muted);
}

.ct-assistant-title span {
	color: var(--text-subtle);
	font-weight: 500;
}

.ct-assistant-empty {
	display: flex;
	justify-content: center;
	padding: 1.25em 1.4em 0.25em;
}

.ct-assistant-empty [data-pixel-asset] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 92px;
	height: 92px;
	border-radius: 18px;
	background: rgba(125, 135, 155, 0.16);
	border: 1px solid var(--border-soft);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
	overflow: hidden;
}

.ct-assistant-empty [data-pixel-asset] .ct-pixel-illustration {
	width: 88%;
	height: 88%;
}

.ct-assistant.is-active .ct-assistant-empty {
	display: none;
}

.ct-assistant-thread {
	display: none;
	flex-direction: column;
	gap: 1em;
	padding: 1.4em;
	max-height: 360px;
	overflow-y: auto;
}

.ct-assistant.is-active .ct-assistant-thread {
	display: flex;
}

.ct-msg {
	display: flex;
	gap: 0.7em;
	max-width: 90%;
}

.ct-msg-user {
	align-self: flex-end;
	flex-direction: row-reverse;
}

.ct-msg-avatar {
	flex-shrink: 0;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0.8em;
	font-weight: 600;
}

.ct-msg-assistant .ct-msg-avatar {
	background: var(--accent-soft);
	color: var(--accent-soft-text);
}

.ct-msg-user .ct-msg-avatar {
	background: rgba(35, 17, 241, 0.12);
	color: #2311F1;
}

.ct-msg-bubble {
	font-size: 0.95em;
	line-height: 1.6;
	color: var(--text);
	background: var(--card-alt);
	padding: 0.75em 1em;
	border-radius: 14px;
}

.ct-msg-user .ct-msg-bubble {
	background: var(--accent);
	color: var(--accent-contrast);
}

.ct-msg-bubble p {
	margin: 0 0 0.6em;
}

.ct-msg-bubble p:last-child {
	margin-bottom: 0;
}

.ct-msg-note {
	margin-top: 0.8em;
	padding-top: 0.8em;
	border-top: 1px solid var(--border);
	font-size: 0.82em;
	color: var(--text-subtle);
}

.ct-msg-note a {
	color: var(--accent);
	font-weight: 600;
}

/* Typing indicator */
.ct-typing {
	display: inline-flex;
	gap: 4px;
	align-items: center;
}

.ct-typing span {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--text-subtle);
	animation: ct-bounce 1.2s infinite ease-in-out;
}

.ct-typing span:nth-child(2) {
	animation-delay: 0.15s;
}

.ct-typing span:nth-child(3) {
	animation-delay: 0.3s;
}

@keyframes ct-bounce {
	0%,
	60%,
	100% {
		transform: translateY(0);
		opacity: 0.5;
	}
	30% {
		transform: translateY(-4px);
		opacity: 1;
	}
}

.ct-assistant-form {
	display: flex;
	gap: 0.6em;
	padding: 1em 1.2em;
	border-top: 1px solid var(--border);
}

.ct-assistant-input {
	flex: 1;
	border: 1px solid var(--border-soft);
	border-radius: var(--radius-input);
	padding: 0.8em 1em;
	font-family: inherit;
	font-size: 0.95em;
	color: var(--text);
	resize: none;
	background: var(--card-alt);
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ct-assistant-input:focus {
	outline: none;
	border-color: var(--accent);
	box-shadow: 0 0 0 3px var(--accent-soft);
	background: var(--card);
}

.ct-assistant-send {
	flex-shrink: 0;
	border: none;
	background: var(--accent);
	color: var(--accent-contrast);
	font-family: inherit;
	font-weight: 600;
	font-size: 0.95em;
	padding: 0 1.3em;
	border-radius: var(--radius-input);
	cursor: pointer;
	transition: background 0.2s ease;
}

.ct-assistant-send:hover {
	background: var(--accent-strong);
}

.ct-assistant-send:disabled {
	opacity: 0.55;
	cursor: default;
}

.ct-assistant-prompts {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5em;
	padding: 0 1.2em 1.2em;
}

.ct-prompt-chip {
	font-family: inherit;
	font-size: 0.83em;
	color: var(--text-muted);
	background: var(--card-alt);
	border: 1px solid var(--border-soft);
	border-radius: var(--radius-pill);
	padding: 0.5em 0.9em;
	cursor: pointer;
	transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.ct-prompt-chip:hover {
	background: var(--accent-soft);
	border-color: var(--accent);
	color: var(--accent-soft-text);
}

.ct-hero-badge {
	margin-top: 0;
}

.ct-badge {
	display: inline-block;
	transition: opacity 0.2s ease;
}

.ct-badge:hover {
	opacity: 0.8;
}

.ct-badge img {
	height: 44px;
}

/* Eyebrow outside hero (feature sections, etc.) */
.ct-eyebrow {
	display: inline-block;
	font-family: "JetBrains Mono", monospace;
	font-size: 0.78em;
	font-weight: 500;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--eyebrow-text);
	background: var(--eyebrow-bg);
	border: 1px solid var(--text);
	padding: 0.45em 1em;
	border-radius: var(--radius-pill);
	margin-bottom: 1.4em;
}

/* =============================================
   Divider + dot fades
   ============================================= */
.ct-divider {
	height: var(--divider-height);
	background: var(--divider);
}

.ct-dot-fade {
	height: 80px;
	position: relative;
	overflow: hidden;
	background: var(--dot-bg);
}

.ct-dot-fade::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: radial-gradient(circle, var(--dot-color) 1.2px, transparent 1.2px);
	background-size: 14px 14px;
	background-position: 7px 7px;
	-webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0));
	mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0));
}

.ct-dot-fade--up::before {
	-webkit-mask-image: linear-gradient(to top, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0));
	mask-image: linear-gradient(to top, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0));
}

.ct-dot-fade--cream-to-dark {
	--dot-bg: var(--dark-bg);
	--dot-color: #d4d0c8;
	height: 100px;
}

.ct-dot-fade--dark-to-light {
	--dot-bg: var(--surface-2);
	--dot-color: var(--text);
	height: 100px;
}

.ct-dot-fade--subtle {
	--dot-bg: transparent;
	--dot-color: var(--dot-subtle);
	height: 60px;
}

/* =============================================
   Trust strip
   ============================================= */
.ct-trust-strip {
	padding: 1rem 0;
	border-top: 1px solid var(--border);
	border-bottom: 1px solid var(--border);
	background: var(--surface-2);
}

.ct-trust-text {
	text-align: center;
	font-size: 0.9em;
	color: var(--text-faint);
	letter-spacing: 0.01em;
	line-height: 1.6;
	margin: 0;
}

.ct-trust-text strong {
	color: var(--text);
	font-weight: 600;
}

/* =============================================
   Product pillars (core section)
   ============================================= */
.ct-pillars {
	padding: 5em 0;
	background: var(--surface-2);
}

.ct-pillars-header {
	text-align: center;
	margin-bottom: 3em;
}

.ct-pillars-header h2 {
	font-size: clamp(2em, 4vw, 3em);
	max-width: 640px;
	margin: 0 auto;
}

.ct-pillars-header p {
	font-size: 1.05em;
	color: var(--text-muted);
	max-width: 540px;
	margin: 1em auto 0;
	line-height: 1.6;
}

.ct-pillars-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1em;
}

.ct-pillar-card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	background: var(--card);
	border: 1px solid var(--border);
	border-top: 3px solid transparent;
	border-radius: var(--radius-card);
	padding: 1.35em 1.25em;
	box-shadow: var(--shadow-card);
	transition: transform 0.18s ease, box-shadow 0.18s ease;
	color: inherit;
}

.ct-pillar-card--red {
	border-top-color: var(--feat-purple);
}

.ct-pillar-card--red .ct-pillar-tagline {
	color: var(--feat-purple);
}

.ct-pillar-card--orange {
	border-top-color: var(--feat-orange);
}

.ct-pillar-card--orange .ct-pillar-tagline {
	color: var(--feat-orange);
}

.ct-pillar-card--blue {
	border-top-color: var(--feat-blue);
}

.ct-pillar-card--blue .ct-pillar-tagline {
	color: var(--feat-blue);
}

.ct-pillar-card--green {
	border-top-color: var(--feat-green);
}

.ct-pillar-card--green .ct-pillar-tagline {
	color: var(--feat-green);
}

.ct-pillar-card:hover {
	transform: translateY(-2px);
	box-shadow: var(--shadow-lg);
}

.ct-pillar-card--link {
	text-decoration: none;
	cursor: pointer;
}

.ct-pillar-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 5.25em;
	height: 5.25em;
	margin-bottom: 0.85em;
	flex-shrink: 0;
}

.ct-pillar-icon .ct-pixel-illustration {
	display: block;
}

.ct-pillar-title {
	font-family: "JetBrains Mono", monospace;
	font-size: 1.35em;
	font-weight: 500;
	color: var(--text);
	margin-bottom: 0.35em;
}

.ct-pillar-tagline {
	font-size: 0.92em;
	font-weight: 600;
	line-height: 1.4;
	margin-bottom: 0.55em;
}

.ct-pillar-desc {
	font-size: 0.88em;
	line-height: 1.55;
	color: var(--text-muted);
	margin: 0;
}

.ct-pillars-base {
	margin-top: 1.25em;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	border: 1px dashed var(--border-soft);
	border-radius: var(--radius-card);
	padding: 1.05em 1.4em;
	color: var(--text-subtle);
	font-size: 0.92em;
}

.ct-pillars-base strong {
	color: var(--text);
	font-weight: 600;
}

@media (max-width: 900px) {
	.ct-pillars-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 520px) {
	.ct-pillars-grid {
		grid-template-columns: 1fr;
	}
}

/* =============================================
   Operating layer explainer (legacy stack — unused)
   ============================================= */
.ct-layer {
	padding: 5em 0;
	background: var(--surface-2);
}

.ct-layer-header {
	text-align: center;
	margin-bottom: 3em;
}

.ct-label {
	display: inline-block;
	font-family: "JetBrains Mono", monospace;
	font-size: 0.8em;
	font-weight: 500;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--accent);
	margin-bottom: 1em;
}

.ct-layer-header h2 {
	font-size: clamp(2em, 4vw, 3em);
	max-width: 640px;
	margin: 0 auto;
}

.ct-layer-header p {
	font-size: 1.05em;
	color: var(--text-muted);
	max-width: 540px;
	margin: 1em auto 0;
	line-height: 1.6;
}

/* Operating layer — stack diagram (built bottom-up on Shopify POS) */
.ct-stack {
	max-width: 660px;
	margin: 0 auto;
}

.ct-stack-flow {
	display: flex;
	flex-direction: column;
	gap: 0.55em;
}

.ct-stack-cap {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5em;
	margin-bottom: 0.7em;
	font-size: 0.88em;
	font-weight: 600;
	letter-spacing: 0.03em;
	color: var(--accent);
}

.ct-stack-cap svg {
	width: 1em;
	height: 1em;
}

.ct-stack-layer {
	display: grid;
	grid-template-columns: 4.25em 1fr;
	align-items: center;
	gap: 1em;
	background: var(--card);
	border: 1px solid var(--border);
	border-left: 3px solid var(--accent);
	border-radius: var(--radius-card);
	padding: 1.05em 1.4em;
	box-shadow: var(--shadow-card);
	transition: transform 0.18s ease;
}

.ct-stack-layer:hover {
	transform: translateX(3px);
}

.ct-stack-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 4.25em;
	flex-shrink: 0;
}

.ct-stack-icon .ct-pixel-illustration {
	display: block;
}

.ct-stack-num {
	font-family: var(--font-display);
	font-size: 1.05em;
	color: var(--accent);
	width: 2.6em;
	height: 2.6em;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--accent-soft);
	border-radius: 12px;
}

.ct-stack-title {
	font-family: var(--font-display);
	font-size: 1.25em;
	color: var(--text);
	margin-bottom: 0.1em;
}

.ct-stack-desc {
	font-size: 0.9em;
	line-height: 1.5;
	color: var(--text-muted);
}

.ct-stack-base {
	margin-top: 0.7em;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.6em;
	text-align: center;
	border: 1px dashed var(--border-soft);
	border-radius: var(--radius-card);
	padding: 1.05em 1.4em;
	color: var(--text-subtle);
	font-size: 0.92em;
}

.ct-stack-base strong {
	color: var(--text);
	font-weight: 600;
}

@media (max-width: 520px) {
	.ct-stack-layer {
		grid-template-columns: 2.3em 1fr;
		gap: 0.9em;
		padding: 0.9em 1.05em;
	}
	.ct-stack-num {
		width: 2.3em;
		height: 2.3em;
	}
}

/* =============================================
   Feature sections
   ============================================= */
.ct-feature {
	padding: 5em 0;
	--feat: var(--accent);
	--feat-strong: var(--accent-strong);
}

.ct-feature-inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4em;
	align-items: center;
}

.ct-feature-label {
	display: inline-flex;
	align-items: center;
	gap: 0.5em;
	font-family: "JetBrains Mono", monospace;
	font-size: 0.8em;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	margin-bottom: 1rem;
	color: var(--feat);
}

.ct-feature-label img {
	height: 20px;
	width: 20px;
	border-radius: 5px;
}

.ct-feature-pixel {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.9em;
	height: 2.9em;
	flex-shrink: 0;
	border-radius: 12px;
	background: rgba(125, 135, 155, 0.16);
	border: 1px solid var(--border-soft);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
	overflow: hidden;
}

.ct-feature-pixel .ct-pixel-illustration {
	display: block;
	width: 90%;
	height: 90%;
}

.ct-feature h2 {
	font-size: clamp(1.75em, 3.5vw, 2.5em);
	margin-bottom: 1rem;
}

.ct-feature p {
	font-size: 1.05em;
	line-height: 1.7;
	color: var(--text-muted);
	margin-bottom: 1em;
}

.ct-feature-list {
	list-style: none;
	margin: 0 0 1.5em;
	padding: 0;
}

.ct-feature-list li {
	font-size: 1em;
	line-height: 1.5;
	color: var(--text);
	padding-left: 1.6em;
	position: relative;
	margin-bottom: 0.6em;
}

.ct-feature-list li::before {
	content: "✓";
	position: absolute;
	left: 0;
	color: var(--feat);
	font-weight: 700;
}

.ct-feature .ct-feature-cta {
	display: inline-flex;
	align-items: center;
	gap: 0.5em;
	font-weight: 600;
	font-size: 0.95em;
	padding: 0.75em 1.5em;
	border-radius: var(--radius-pill);
	transition: all 0.2s ease;
	margin-top: 0.5em;
	background: var(--feat);
	color: var(--accent-contrast);
}

.ct-feature .ct-feature-cta:hover {
	background: var(--feat-strong);
}

.ct-feature-metric {
	display: inline-flex;
	align-items: baseline;
	gap: 0.5em;
	margin: 0 0 1.5em;
	padding: 0.75em 1rem;
	border-radius: 10px;
	background: var(--accent-soft);
}

.ct-feature-metric-number {
	font-family: var(--font-display);
	font-size: 1.75em;
	color: var(--text);
	line-height: 1;
}

.ct-feature-metric-label {
	font-size: 0.85em;
	color: var(--text-muted);
	line-height: 1.3;
}

.ct-feature-visual {
	border-radius: var(--radius-card);
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.ct-feature-visual img {
	max-width: 100%;
	height: auto;
	border-radius: var(--radius-card);
	box-shadow: var(--shadow-img);
}

/* =============================================
   POS mockups — Shopify Retail UI styling.
   Mirror the in-app POS preview + field builder
   (web/sources/.../PreviewComponents) so the site
   and product share one visual language. Fixed
   retail palette, independent of the site theme.
   ============================================= */
.ct-pos {
	--pos-bg: #eeeff1;
	--pos-card: #fcfcfd;
	--pos-input: #fcfcfd;
	--pos-border: #e0e2e6;
	--pos-ink: #050506;
	--pos-ink-2: #676d7e;
	--pos-ink-3: #818798;
	--pos-action: #007aff;
	--pos-success: #356530;
	--pos-success-surface: #cbf4c6;
	--pos-success-border: #5bbd50;
	--pos-orange: #f37a00;

	font-family: "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	width: 100%;
	box-sizing: border-box;
	color: var(--pos-ink);
	background: var(--pos-card);
	border: 1px solid var(--pos-border);
	border-radius: 18px;
	overflow: hidden;
	box-shadow:
		0 18px 50px rgba(0, 0, 0, 0.13),
		0 0 0 6px color-mix(in srgb, var(--feat, var(--accent)) 12%, transparent);
	font-size: clamp(12px, 1.45vw, 14px);
	line-height: 1.4;
}

/* Device top bar (POS chrome) */
.ct-pos-bar {
	display: flex;
	align-items: center;
	gap: 0.5em;
	padding: 0.75em 1em;
	background: var(--pos-card);
	border-bottom: 1px solid var(--pos-border);
	font-size: 0.82em;
	font-weight: 600;
	color: var(--pos-ink-2);
}

.ct-pos-bar-dot {
	width: 0.6em;
	height: 0.6em;
	border-radius: 50%;
	background: var(--feat, var(--pos-action));
	flex-shrink: 0;
}

.ct-pos-bar-time {
	margin-left: auto;
	font-weight: 500;
	color: var(--pos-ink-3);
	font-variant-numeric: tabular-nums;
}

.ct-pos-screen {
	background: var(--pos-bg);
	padding: 1em;
	display: flex;
	flex-direction: column;
	gap: 0.8em;
}

/* Field heading (Field.tsx headingLg) */
.ct-pos-field {
	display: flex;
	flex-direction: column;
	gap: 0.4em;
}

.ct-pos-field-title {
	font-size: 1.15em;
	font-weight: 600;
	color: var(--pos-ink);
}

.ct-pos-field-desc {
	font-size: 0.9em;
	color: var(--pos-ink-2);
}

/* Retail input box */
.ct-pos-input {
	background: var(--pos-input);
	border: 2px solid var(--pos-border);
	border-radius: 8px;
	padding: 0.7em 0.9em;
	display: flex;
	flex-direction: column;
	gap: 0.25em;
}

.ct-pos-input-label {
	display: flex;
	gap: 0.4em;
	font-size: 0.85em;
	color: var(--pos-ink-3);
}

.ct-pos-input-value {
	display: flex;
	align-items: center;
	gap: 0.15em;
	font-size: 1.15em;
	font-weight: 500;
	color: var(--pos-ink);
}

.ct-pos-input--area .ct-pos-input-value {
	font-size: 1em;
	font-weight: 400;
	color: var(--pos-ink-2);
	min-height: 2.3em;
	align-items: flex-start;
}

.ct-pos-caret {
	width: 2px;
	height: 1.05em;
	background: var(--pos-action);
	animation: ct-pos-blink 1s steps(1) infinite;
}

@keyframes ct-pos-blink {
	50% {
		opacity: 0;
	}
}

/* Primary button */
.ct-pos-btn {
	margin-top: 0.1em;
	padding: 0.7em 1em;
	border-radius: 8px;
	background: var(--pos-action);
	color: #fff;
	text-align: center;
	font-size: 1.05em;
	font-weight: 500;
}

/* Segmented control (Switch.tsx) */
.ct-pos-seg {
	display: flex;
	gap: 0.5em;
}

.ct-pos-seg-opt {
	flex: 1;
	padding: 0.6em 1em;
	border-radius: 8px;
	text-align: center;
	font-size: 1em;
	font-weight: 500;
	background: #c6c9d1;
	color: var(--pos-action);
}

.ct-pos-seg-opt--active {
	background: var(--pos-action);
	color: #fff;
}

/* Two-up field grid */
.ct-pos-grid2 {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.6em;
}

/* Summary panel (order card) */
.ct-pos-panel {
	background: var(--pos-card);
	border: 1px solid var(--pos-border);
	border-radius: 12px;
	padding: 0.85em 0.95em;
	display: flex;
	flex-direction: column;
	gap: 0.4em;
}

.ct-pos-panel-title {
	font-size: 0.78em;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--pos-ink-3);
	margin-bottom: 0.15em;
}

.ct-pos-row {
	display: flex;
	justify-content: space-between;
	gap: 0.5em;
	padding: 0.4em 0;
	border-bottom: 1px solid var(--pos-border);
	font-size: 0.95em;
}

.ct-pos-row:last-child {
	border-bottom: 0;
}

.ct-pos-row-key {
	color: var(--pos-ink-2);
}

.ct-pos-row-val {
	display: inline-flex;
	align-items: center;
	gap: 0.4em;
	font-weight: 600;
}

.ct-pos-row--dim {
	opacity: 0.55;
}

.ct-pos-check {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.35em;
	height: 1.35em;
	border-radius: 50%;
	font-size: 0.72em;
	color: var(--pos-success);
	background: var(--pos-success-surface);
	border: 1px solid var(--pos-success-border);
}

/* Connector (saves to → order) */
.ct-pos-conn {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.1em;
	color: var(--pos-action);
}

.ct-pos-conn-arrow {
	font-size: 1.3em;
	line-height: 1;
}

.ct-pos-conn-label {
	font-size: 0.72em;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--pos-ink-3);
}

/* Rule blocks */
.ct-pos-rule {
	display: flex;
	flex-direction: column;
	gap: 0.5em;
}

.ct-pos-rule-block {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.45em;
	padding: 0.7em 0.85em;
	background: var(--pos-card);
	border: 1px solid var(--pos-border);
	border-left: 4px solid var(--pos-action);
	border-radius: 10px;
}

.ct-pos-rule-block--when {
	border-left-color: var(--pos-orange);
}

.ct-pos-rule-block--then {
	border-left-color: var(--pos-success-border);
}

.ct-pos-kw {
	padding: 0.25em 0.55em;
	border-radius: 6px;
	font-size: 0.72em;
	font-weight: 700;
	letter-spacing: 0.06em;
	color: #fff;
	background: var(--pos-orange);
}

.ct-pos-kw--then {
	background: var(--pos-success);
}

.ct-pos-rule-text {
	font-size: 0.95em;
	color: var(--pos-ink-2);
}

.ct-pos-chip {
	display: inline-flex;
	align-items: center;
	gap: 0.3em;
	padding: 0.3em 0.6em;
	border-radius: 8px;
	font-size: 0.92em;
	font-weight: 500;
	color: var(--pos-ink);
	background: #e2edfa;
	border: 1px solid #c1ddf5;
}

.ct-pos-rule-conn {
	width: 2px;
	height: 0.85em;
	margin-left: 1.1em;
	background: var(--pos-border);
}

.ct-pos-foot {
	display: flex;
	align-items: center;
	gap: 0.6em;
	padding-top: 0.6em;
	margin-top: 0.1em;
	border-top: 1px solid var(--pos-border);
	font-size: 0.85em;
	color: var(--pos-ink-3);
}

.ct-pos-toggle {
	display: inline-flex;
	align-items: center;
	gap: 0.45em;
	font-weight: 600;
	color: var(--pos-success);
}

.ct-pos-switch {
	position: relative;
	width: 2.1em;
	height: 1.2em;
	border-radius: 100px;
	background: var(--pos-success-border);
	flex-shrink: 0;
}

.ct-pos-switch::after {
	content: "";
	position: absolute;
	top: 0.12em;
	right: 0.12em;
	width: 0.96em;
	height: 0.96em;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

/* Workflow nodes */
.ct-pos-flow {
	display: flex;
	flex-direction: column;
}

.ct-pos-node {
	display: flex;
	align-items: center;
	gap: 0.7em;
	padding: 0.65em 0.8em;
	background: var(--pos-card);
	border: 1px solid var(--pos-border);
	border-radius: 12px;
}

.ct-pos-node--trigger {
	border-style: dashed;
	border-color: var(--pos-action);
	background: transparent;
	font-size: 0.85em;
	font-weight: 600;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	color: var(--pos-ink-2);
}

.ct-pos-node--save {
	border-color: var(--pos-success-border);
}

.ct-pos-node-ico {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.1em;
	height: 2.1em;
	flex-shrink: 0;
	border-radius: 8px;
	font-size: 1.05em;
	background: #e2edfa;
	color: var(--pos-action);
}

.ct-pos-node--save .ct-pos-node-ico {
	background: var(--pos-success-surface);
	color: var(--pos-success);
}

.ct-pos-node-text {
	font-size: 0.9em;
	line-height: 1.35;
	color: var(--pos-ink-2);
}

.ct-pos-node-text strong {
	display: block;
	font-size: 1.05em;
	font-weight: 600;
	color: var(--pos-ink);
}

.ct-pos-node-text code {
	font-family: ui-monospace, "SF Mono", Menlo, monospace;
	font-size: 0.88em;
	color: var(--pos-success);
}

.ct-pos-flowline {
	width: 2px;
	height: 0.9em;
	margin: 0.15em 0 0.15em 1.7em;
	background: var(--pos-border);
}

/* =============================================
   Exploded / stylized POS mockups (homepage).
   Lift key controls out of the device frame with
   floating callouts, an accent glow and depth.
   ============================================= */
.ct-feature-visual:has(.ct-pos-stage) {
	overflow: visible;
}

.ct-pos-stage {
	position: relative;
	width: 100%;
	max-width: 480px;
	margin: 0 auto;
	padding: 2.4em 2.4em 3em;
	overflow: visible;
	isolation: isolate;
}

/* Soft accent glow behind the device */
.ct-pos-stage::before {
	content: "";
	position: absolute;
	inset: 1.6em 1.6em 2em;
	border-radius: 30px;
	background: radial-gradient(
		120% 110% at 50% 0%,
		color-mix(in srgb, var(--feat, var(--accent)) 34%, transparent),
		transparent 72%
	);
	filter: blur(30px);
	opacity: 0.5;
	z-index: -1;
}

.ct-pos-stage .ct-pos {
	box-shadow:
		0 26px 60px rgba(0, 0, 0, 0.2),
		0 0 0 1px var(--pos-border);
}

/* Floating callouts that pop beyond the frame */
.ct-pos-pop {
	position: absolute;
	z-index: 4;
	display: inline-flex;
	align-items: center;
	gap: 0.45em;
	font-family: "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	font-size: 0.88em;
	font-weight: 600;
	white-space: nowrap;
	padding: 0.6em 0.9em;
	border-radius: 12px;
	background: #fcfcfd;
	color: #050506;
	box-shadow: 0 14px 30px rgba(0, 0, 0, 0.22);
}

.ct-pos-pop-ico {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.5em;
	height: 1.5em;
	border-radius: 7px;
	font-size: 0.95em;
	background: #e2edfa;
	color: #007aff;
}

.ct-pos-pop--btn {
	padding: 0.8em 1.3em;
	border-radius: 14px;
	font-size: 1em;
	color: #fff;
	background: #007aff;
	box-shadow: 0 18px 34px color-mix(in srgb, #007aff 45%, transparent);
}

.ct-pos-pop--success {
	color: #356530;
}
.ct-pos-pop--success .ct-pos-pop-ico {
	background: #cbf4c6;
	color: #356530;
}

.ct-pos-pop--critical {
	color: #ce2717;
}
.ct-pos-pop--critical .ct-pos-pop-ico {
	background: #f7d7d4;
	color: #ce2717;
}

/* Tap ripple (finger-press indicator) */
.ct-pos-tap {
	position: absolute;
	z-index: 3;
	width: 2.6em;
	height: 2.6em;
	border-radius: 50%;
	background: color-mix(in srgb, var(--feat, var(--accent)) 28%, transparent);
}
.ct-pos-tap::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 50%;
	border: 2px solid var(--feat, var(--accent));
}

@media (prefers-reduced-motion: no-preference) {
	.ct-pos-pop--float {
		animation: ct-pos-bob 4.2s ease-in-out infinite;
	}
	.ct-pos-pop--float-delay {
		animation: ct-pos-bob 4.2s ease-in-out 1.4s infinite;
	}
	.ct-pos-tap {
		animation: ct-pos-tap 2s ease-out infinite;
	}
}

@keyframes ct-pos-bob {
	0%, 100% { translate: 0 0; }
	50% { translate: 0 -7px; }
}

@keyframes ct-pos-tap {
	0% { transform: scale(0.45); opacity: 0.85; }
	80% { opacity: 0; }
	100% { transform: scale(1.7); opacity: 0; }
}

/* Per-feature placements */
.ct-pos-pop--fields-save {
	top: 22%;
	right: -0.7em;
	transform: rotate(-4deg);
}
.ct-pos-pop--fields-saved {
	bottom: 13%;
	left: -0.9em;
	transform: rotate(3deg);
}
.ct-pos-tap--fields {
	top: 23%;
	right: 1.4em;
}

.ct-pos-pop--views-save {
	bottom: 1.2em;
	left: 50%;
	transform: translateX(-50%) rotate(-2deg);
}
.ct-pos-tap--views {
	bottom: 1.6em;
	left: calc(50% + 2.4em);
}
.ct-pos-pop--views-field {
	top: 31%;
	right: -1em;
	transform: rotate(3deg);
}

.ct-pos-pop--rules-required {
	top: 49%;
	right: -1em;
	transform: rotate(3deg);
}
.ct-pos-pop--rules-live {
	top: 15%;
	left: -0.9em;
	transform: rotate(-3deg);
}

.ct-pos-pop--wf-run {
	top: 15%;
	left: -1em;
	transform: rotate(-4deg);
}
.ct-pos-tap--wf {
	top: 16%;
	left: 1.2em;
}
.ct-pos-pop--wf-saved {
	bottom: 15%;
	right: -1em;
	transform: rotate(3deg);
}

.ct-pos-pop--print-run {
	bottom: 1.4em;
	left: 50%;
	transform: translateX(-50%) rotate(-2deg);
}
.ct-pos-tap--print {
	bottom: 1.8em;
	left: calc(50% + 2.4em);
}
.ct-pos-pop--print-done {
	top: 18%;
	right: -1em;
	transform: rotate(3deg);
}

@media (max-width: 600px) {
	.ct-pos-grid2 {
		grid-template-columns: 1fr;
	}
	.ct-pos-stage {
		padding: 1.8em 1.6em 2.4em;
	}
	.ct-pos-pop {
		font-size: 0.78em;
	}
}

/* =============================================
   Device frames — iPad & iPhone bezels (pure CSS).
   Wrap POS mockups so the site shows Countertop
   running on the actual Shopify POS hardware.
   Fixed dark body so it reads as real hardware on
   any theme background.
   ============================================= */
.ct-device {
	position: relative;
	box-sizing: border-box;
	background: #0b0b0c;
	background-image: linear-gradient(150deg, #26262b 0%, #0b0b0c 55%, #050506 100%);
	box-shadow:
		0 30px 70px rgba(0, 0, 0, 0.3),
		0 0 0 1px #2c2c32,
		inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.ct-device-screen {
	position: relative;
	overflow: hidden;
	background: #eeeff1;
	width: 100%;
	height: 100%;
}

/* Neutralise the POS card's own frame inside a device screen */
.ct-device-screen .ct-pos {
	border: 0;
	border-radius: 0;
	box-shadow: none;
	font-size: clamp(11px, 1.3vw, 13px);
}

/* iPad — uniform bezel, centred front camera */
.ct-device--ipad {
	width: 100%;
	padding: 15px;
	border-radius: 28px;
}
.ct-device--ipad .ct-device-screen {
	border-radius: 14px;
}
.ct-device--ipad::before {
	content: "";
	position: absolute;
	top: 6px;
	left: 50%;
	transform: translateX(-50%);
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: #34343a;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
	z-index: 3;
}

/* iPhone — taller, dynamic island, home indicator */
.ct-device--iphone {
	width: 100%;
	max-width: 280px;
	padding: 11px;
	border-radius: 42px;
}
.ct-device--iphone .ct-device-screen {
	border-radius: 32px;
}
.ct-device--iphone::before {
	content: "";
	position: absolute;
	top: 19px;
	left: 50%;
	transform: translateX(-50%);
	width: 32%;
	height: 20px;
	border-radius: 12px;
	background: #050506;
	z-index: 4;
}
.ct-device--iphone .ct-device-screen::after {
	content: "";
	position: absolute;
	bottom: 7px;
	left: 50%;
	transform: translateX(-50%);
	width: 38%;
	height: 4px;
	border-radius: 4px;
	background: rgba(0, 0, 0, 0.34);
	z-index: 5;
}
/* clear the island so app chrome isn't hidden */
.ct-device--iphone .ct-pos-bar,
.ct-device--iphone .ct-grid-bar {
	padding-top: 3.4em;
}

/* When a device sits in a feature visual stage, fill it */
.ct-pos-stage .ct-device--ipad {
	box-shadow:
		0 30px 70px rgba(0, 0, 0, 0.26),
		0 0 0 1px #2c2c32;
}

/* =============================================
   Smart Grid tile mockup (POS home) for showcase.
   ============================================= */
.ct-grid {
	font-family: "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	background: #eeeff1;
	color: #050506;
	padding: 0;
}
.ct-grid-bar {
	display: flex;
	align-items: center;
	gap: 0.5em;
	padding: 0.85em 1em;
	background: #fcfcfd;
	border-bottom: 1px solid #e0e2e6;
	font-size: 0.8em;
	font-weight: 600;
	color: #676d7e;
}
.ct-grid-bar-dot {
	width: 0.55em;
	height: 0.55em;
	border-radius: 50%;
	background: #007aff;
}
.ct-grid-bar-time {
	margin-left: auto;
	font-weight: 500;
}
.ct-grid-tiles {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0.55em;
	padding: 0.85em;
}
.ct-grid-tile {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 0.7em;
	min-height: 4.6em;
	padding: 0.7em 0.65em;
	background: #fcfcfd;
	border: 1px solid #e0e2e6;
	border-radius: 11px;
}
.ct-grid-tile-ico {
	font-size: 1.25em;
	line-height: 1;
}
.ct-grid-tile-label {
	font-size: 0.74em;
	font-weight: 600;
	line-height: 1.2;
	color: #050506;
}
.ct-grid-tile--accent {
	background: #007aff;
	border-color: #007aff;
	color: #fff;
	box-shadow: 0 8px 18px rgba(0, 122, 255, 0.35);
}
.ct-grid-tile--accent .ct-grid-tile-label {
	color: #fff;
}
.ct-grid-tile--green {
	background: #cbf4c6;
	border-color: #5bbd50;
}
.ct-grid-tile--orange {
	background: #ffe9d1;
	border-color: #f0a35e;
}

/* =============================================
   "Built for Shopify POS" device showcase
   ============================================= */
.ct-showcase {
	background: #ffffff;
	border-top: 1px solid var(--border);
	border-bottom: 1px solid var(--border);
	padding: 5em 0;
	overflow: hidden;
}
.ct-showcase-inner {
	display: grid;
	grid-template-columns: 1.05fr 1fr;
	gap: 3.5em;
	align-items: center;
}
.ct-showcase-copy .ct-label {
	color: var(--text-muted);
}
.ct-showcase-copy h2 {
	font-size: clamp(1.9em, 3.6vw, 2.7em);
	letter-spacing: var(--display-letter-spacing);
	margin: 0.35em 0 0.5em;
}
.ct-showcase-copy p {
	font-size: 1.05em;
	color: var(--text-muted);
	line-height: 1.6;
	max-width: 30em;
}
.ct-showcase-points {
	list-style: none;
	margin: 1.5em 0 0;
	padding: 0;
	display: grid;
	gap: 0.7em;
}
.ct-showcase-points li {
	display: flex;
	align-items: center;
	gap: 0.6em;
	font-size: 0.98em;
	color: var(--text);
}
.ct-showcase-points li::before {
	content: "";
	width: 1.4em;
	height: 1.4em;
	flex-shrink: 0;
	border-radius: 50%;
	background: var(--accent-soft);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23177A3F' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: center;
	background-size: 0.85em;
}

/* Device cluster: iPad with an iPhone overlapping front-right */
.ct-showcase-devices {
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 1.5em 2.5em 2.5em 0.5em;
}
.ct-showcase-devices::before {
	content: "";
	position: absolute;
	inset: 0 2em 1em 0;
	border-radius: 40px;
	background: radial-gradient(120% 110% at 40% 30%, var(--accent-soft), transparent 70%);
	filter: blur(34px);
	opacity: 0.8;
	z-index: -1;
}
.ct-showcase-devices .ct-device--ipad {
	max-width: 430px;
}
.ct-showcase-devices .ct-device--iphone {
	position: absolute;
	right: 0.5em;
	bottom: 0;
	max-width: 150px;
	z-index: 6;
}

/* Stat band */
.ct-statband {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.5em;
	margin-top: 3.5em;
	padding-top: 3em;
	border-top: 1px solid var(--border);
}
.ct-stat {
	text-align: center;
}
.ct-stat-num {
	font-family: var(--font-display);
	font-weight: var(--display-weight);
	font-size: clamp(1.7em, 3.2vw, 2.5em);
	letter-spacing: -0.03em;
	color: var(--text);
	line-height: 1;
}
.ct-stat-cap {
	margin-top: 0.6em;
	font-size: 0.88em;
	color: var(--text-muted);
	line-height: 1.4;
}

@media (max-width: 860px) {
	.ct-showcase-inner {
		grid-template-columns: 1fr;
		gap: 2.5em;
	}
	.ct-showcase-devices {
		padding: 1em 2.5em 2.5em 0;
		max-width: 460px;
		margin: 0 auto;
	}
}

@media (max-width: 600px) {
	.ct-statband {
		grid-template-columns: repeat(2, 1fr);
		gap: 2em 1em;
	}
	.ct-showcase-devices .ct-device--iphone {
		max-width: 120px;
	}
}

/* Stat band captions */
.ct-stat-cap,
.ct-grid-bar {
	font-family: "JetBrains Mono", monospace;
}

/* Stat band used on its own (no devices above it) */
.ct-statband--solo {
	margin-top: 0;
	padding-top: 0;
	border-top: 0;
}

/* =============================================
   Hero device in lifestyle stage (replaces full-width iPad frame)
   ============================================= */
.ct-hero-ipad {
	width: 100%;
	max-width: 100%;
	margin: 0 auto;
	padding: 22px;
	border-radius: 36px;
}

/* Right column — Shopify POS cart with Countertop-captured fields
   TODO: Populate markup in index.html (.ct-hero-cart inside .ct-hero-pos). See README "Launch checklist". */
.ct-hero-cart {
	align-self: stretch;
	display: flex;
	flex-direction: column;
	gap: 1em;
	padding: 1.4em;
	background: #f5f5f6;
	border: 1px solid var(--border);
	border-radius: 14px;
	font-family: "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	text-align: left;
}
.ct-cart-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-weight: 700;
	font-size: 1.05em;
	color: var(--text);
}
.ct-cart-count {
	font-size: 0.78em;
	font-weight: 500;
	color: var(--text-muted);
}
.ct-cart-body {
	display: flex;
	flex-direction: column;
	gap: 0.85em;
}
.ct-cart-item {
	background: #fff;
	border: 1px solid var(--border);
	border-radius: 10px;
	padding: 0.85em;
}
.ct-cart-item-top {
	display: flex;
	justify-content: space-between;
	gap: 0.6em;
	font-weight: 600;
	font-size: 0.92em;
	color: var(--text);
}
.ct-cart-item-price {
	white-space: nowrap;
}
.ct-cart-props {
	margin-top: 0.6em;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.4em;
}
.ct-cart-prop {
	font-size: 0.8em;
	color: var(--accent-soft-text);
	background: var(--accent-soft);
	border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent);
	border-radius: 7px;
	padding: 0.32em 0.6em;
	line-height: 1.3;
}
.ct-cart-totals {
	display: flex;
	flex-direction: column;
	gap: 0.4em;
	padding-top: 0.9em;
	border-top: 1px solid var(--border);
}
.ct-cart-total-row {
	display: flex;
	justify-content: space-between;
	font-size: 0.88em;
	color: var(--text-muted);
}
.ct-cart-total-row--grand {
	font-size: 1.05em;
	font-weight: 700;
	color: var(--text);
}
.ct-cart-checkout {
	margin-top: 0.3em;
	padding: 0.9em 1em;
	border: 0;
	border-radius: 10px;
	background: var(--accent);
	color: #fff;
	font: inherit;
	font-weight: 600;
	font-size: 0.95em;
	cursor: default;
}

@media (max-width: 860px) {
	.ct-hero-stage-terminal {
		left: calc(50% - 120px);
	}
}

@media (max-width: 600px) {
	.ct-hero-device {
		width: min(62%, 280px);
	}

	.ct-hero-stage-terminal {
		display: none;
	}
}

/* Feature accent variants */
.ct-feature-green {
	--feat: var(--feat-green);
	--feat-strong: var(--feat-green-strong);
	background: var(--surface-1);
}
.ct-feature-blue {
	--feat: var(--feat-blue);
	--feat-strong: var(--feat-blue-strong);
	background: var(--surface-1);
}
.ct-feature-orange {
	--feat: var(--feat-orange);
	--feat-strong: var(--feat-orange-strong);
	background: var(--surface-2);
}
.ct-feature-purple {
	--feat: var(--feat-purple);
	--feat-strong: var(--feat-purple-strong);
	background: var(--surface-2);
}
.ct-feature--alt {
	background: var(--surface-2);
}

/* =============================================
   Use cases
   ============================================= */
.ct-usecases {
	padding: 5em 0;
	background: var(--surface-1);
}

.ct-usecases-header {
	text-align: center;
	margin-bottom: 3.5em;
}

.ct-usecases-header .ct-label {
	color: var(--text-muted);
}

.ct-usecases-header h2 {
	font-size: clamp(2em, 4vw, 3em);
	max-width: 700px;
	margin: 0 auto;
}

.ct-usecases-header .ct-usecases-sub {
	font-size: 1.05em;
	color: var(--text-muted);
	max-width: 560px;
	margin: 1em auto 0;
	line-height: 1.6;
}

.ct-usecases-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5em;
}

.ct-usecase-card {
	display: block;
	background: var(--card);
	border: 1px solid var(--border);
	border-radius: var(--radius-card);
	padding: 2em;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
	color: inherit;
}

.ct-usecase-card:hover {
	border-color: var(--text);
	transform: none;
	box-shadow: none;
}

.ct-usecase-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 3em;
	height: 3em;
	margin-bottom: 0.85em;
	border-radius: 12px;
	background: rgba(125, 135, 155, 0.16);
	border: 1px solid var(--border-soft);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
	overflow: hidden;
}

.ct-usecase-icon .ct-pixel-illustration {
	display: block;
	width: 86%;
	height: 86%;
}

.ct-usecase-card h3 {
	font-size: 1.1em;
	margin-bottom: 0.5em;
	line-height: 1.3;
}

.ct-usecase-card p {
	font-size: 0.9em;
	line-height: 1.6;
	color: var(--text-muted);
	margin-bottom: 0;
}

.ct-usecase-apps {
	display: flex;
	gap: 0.4em;
	margin-top: 1em;
	flex-wrap: wrap;
}

.ct-usecase-app-tag {
	font-size: 0.7em;
	font-weight: 600;
	padding: 0.2em 0.6em;
	border-radius: var(--radius-pill);
}

.ct-tag-countertop {
	background: var(--accent-soft);
	color: var(--accent-soft-text);
}

.ct-tag-flow {
	background: rgba(255, 166, 41, 0.14);
	color: var(--feat-orange);
}

@media (max-width: 900px) {
	.ct-usecases-grid {
		grid-template-columns: 1fr;
		max-width: 500px;
		margin: 0 auto;
	}
}

/* =============================================
   Workflow actions
   ============================================= */
.ct-actions {
	padding: 5em 0;
	background: var(--surface-1);
}

.ct-actions-header {
	text-align: center;
	margin-bottom: 3em;
}

.ct-actions-header h2 {
	font-size: clamp(2em, 4vw, 3em);
	max-width: 700px;
	margin: 0 auto;
}

.ct-actions-sub {
	font-size: 1.05em;
	color: var(--text-muted);
	max-width: 620px;
	margin: 1em auto 0;
	line-height: 1.6;
}

.ct-actions-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1.25em;
}

.ct-actions-group {
	background: var(--card);
	border: 1px solid var(--border);
	border-radius: var(--radius-card);
	padding: 1.5em 1.6em;
}

.ct-actions-group h3 {
	font-family: var(--font-body);
	font-size: 0.78em;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--accent);
	margin-bottom: 0.9em;
}

.ct-actions-group ul {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 0.55em;
}

.ct-actions-group li {
	font-size: 0.9em;
	line-height: 1.5;
	color: var(--text-muted);
}

.ct-actions-group strong {
	color: var(--text);
	font-weight: 600;
}

.ct-actions-footnote {
	text-align: center;
	font-size: 0.92em;
	color: var(--text-faint);
	max-width: 640px;
	margin: 2.5em auto 0;
	line-height: 1.6;
}

.ct-feature-list a {
	color: var(--accent);
	font-weight: 500;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.ct-feature-list a:hover {
	color: var(--accent-strong);
}

@media (max-width: 900px) {
	.ct-actions-grid {
		grid-template-columns: 1fr;
		max-width: 520px;
		margin: 0 auto;
	}
}

/* =============================================
   Testimonials (dark band)
   ============================================= */
.ct-testimonials {
	padding: 5em 0;
	background: var(--dark-bg);
	color: var(--dark-text);
}

.ct-testimonials-header {
	text-align: center;
	margin-bottom: 3.5em;
}

.ct-testimonials-header .ct-label {
	color: var(--dark-text-faint);
}

.ct-testimonials-header h2 {
	font-size: clamp(2em, 4vw, 3em);
	color: var(--dark-text);
}

.ct-testimonials-header p {
	color: var(--dark-text-muted);
	margin-top: 1em;
	line-height: 1.6;
}

.ct-testimonials-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5em;
}

.ct-testimonial-card {
	background: var(--dark-surface);
	border-radius: var(--radius-card);
	padding: 2em;
	display: flex;
	flex-direction: column;
}

.ct-testimonial-stars {
	color: #fbbf24;
	font-size: 1em;
	margin-bottom: 1em;
	letter-spacing: 2px;
}

.ct-testimonial-card blockquote {
	font-size: 0.95em;
	line-height: 1.65;
	color: var(--dark-text-muted);
	flex: 1;
}

.ct-testimonial-author {
	margin-top: 1.5em;
	padding-top: 1em;
	border-top: 1px solid var(--dark-border);
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.ct-testimonial-author strong {
	font-size: 0.9em;
	font-weight: 600;
	color: var(--dark-text);
}

.ct-testimonial-app {
	font-size: 0.8em;
	font-weight: 500;
	padding: 0.25em 0.75em;
	border-radius: var(--radius-pill);
	background: var(--dark-border);
	color: var(--dark-text-faint);
}

@media (max-width: 900px) {
	.ct-testimonials-grid {
		grid-template-columns: 1fr;
		max-width: 500px;
		margin: 0 auto;
	}
}

/* =============================================
   About
   ============================================= */
.ct-about {
	padding: 5em 0;
	background: var(--surface-2);
}

.ct-about-inner {
	display: grid;
	grid-template-columns: 1fr 1.2fr;
	gap: 4em;
	align-items: center;
}

.ct-about-photo {
	border-radius: var(--radius-card);
	overflow: hidden;
}

.ct-about-photo img {
	width: 100%;
	height: auto;
	display: block;
	border-radius: var(--radius-card);
}

.ct-about h2 {
	font-size: clamp(1.75em, 3.5vw, 2.5em);
	margin-bottom: 1rem;
}

.ct-about p {
	font-size: 1.05em;
	line-height: 1.7;
	color: var(--text-muted);
	margin-bottom: 1em;
}

.ct-about-stats {
	display: flex;
	gap: 2.5em;
	margin-top: 2em;
	padding-top: 2em;
	border-top: 1px solid var(--border);
}

.ct-stat-number {
	font-family: var(--font-display);
	font-size: 2em;
	color: var(--text);
	line-height: 1.2;
}

.ct-stat-label {
	font-size: 0.85em;
	color: var(--text-subtle);
	margin-top: 0.25em;
}

@media (max-width: 900px) {
	.ct-about-inner {
		grid-template-columns: 1fr;
		gap: 2.5em;
	}
	.ct-about-photo {
		max-width: 400px;
	}
}

/* =============================================
   CTA
   ============================================= */
.ct-cta {
	padding: 5em 0;
	text-align: center;
	background: var(--surface-1);
}

.ct-cta h2 {
	font-size: clamp(2em, 4vw, 3em);
	max-width: 600px;
	margin: 0 auto 1rem;
}

.ct-cta p {
	font-size: 1.05em;
	color: var(--text-muted);
	margin-bottom: 2em;
	line-height: 1.6;
}

/* =============================================
   Footer
   ============================================= */
.ct-logo-footer {
	padding: 3em 0 4em;
	text-align: center;
	background: var(--surface-1);
}

.ct-footer-inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1rem;
	max-width: 640px;
}

.ct-footer-strap {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.35rem;
	max-width: 36rem;
}

.ct-footer-strap p {
	font-size: 0.875rem;
	line-height: 1.65;
	color: var(--text-muted);
	margin: 0;
}

.ct-footer-emoji {
	display: inline-block;
	font-size: 1.3em;
	line-height: 1;
}

.ct-footer-logo-wrap {
	display: flex;
	justify-content: center;
	margin-top: 0.5em;
}

.ct-logo-group {
	position: relative;
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	gap: 0.35em;
	font-family: var(--font-display);
	color: var(--text);
	text-decoration: none;
	transition: color 0.2s ease;
}

.ct-footer-logo {
	width: 60px;
	height: 60px;
	object-fit: contain;
	border-radius: 4px;
	image-rendering: pixelated;
	image-rendering: crisp-edges;
}

.ct-footer-logo-year {
	font-size: 0.85em;
	font-weight: var(--display-weight);
	letter-spacing: var(--display-letter-spacing);
}

.ct-logo-group:hover {
	color: var(--accent);
}

/* =============================================
   Countertop marketing — Countertop pages
   Scoped to .ct-marketing-root--countertop
   ============================================= */
.ct-marketing-root--countertop {
	--sf-cream: #eef1ef;
	--sf-stone: #eef1ef;
	--sf-white: #ffffff;
	--sf-ink: #1a1a1a;
	--sf-muted: #555555;
	--sf-subtle: #888888;
	--sf-green: #003d2c;
	--sf-green-strong: #002419;
	--sf-green-soft: rgba(0, 61, 44, 0.08);
	--sf-border: rgba(0, 61, 44, 0.22);
	--sf-border-strong: #003d2c;
	--sf-primary: #003d2c;
	--sf-primary-hover: #002419;
	--sf-surface-muted: #e4eae7;
	--sf-radius: 6px;
	--sf-radius-btn: 999px;
	--sf-wrap: 1140px;
	font-family: var(--font-body);
	color: var(--sf-ink);
	background: var(--sf-white);
}

.ct-marketing-root--countertop h1,
.ct-marketing-root--countertop h2,
.ct-marketing-root--countertop h3,
.ct-marketing-root--countertop .ct-sf-display,
.ct-marketing-root--countertop .ct-sf-section-title,
.ct-marketing-root--countertop .ct-sf-card-title {
	font-family: var(--font-body);
	font-weight: 700;
	letter-spacing: -0.035em;
}

.ct-sf-wrap {
	max-width: var(--sf-wrap);
	margin: 0 auto;
	padding: 0 2rem;
}

.ct-sf-promo {
	background: var(--sf-ink);
	color: #ffffff;
	font-size: 0.875rem;
}

.ct-sf-promo-inner {
	padding: 0.65rem 2rem;
	text-align: center;
}

.ct-sf-promo a {
	color: #ffffff;
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

.ct-nav--countertop {
	border-bottom: 1px solid var(--sf-border);
	position: sticky;
	top: 0;
	z-index: 50;
	backdrop-filter: blur(10px);
	background: rgba(255, 255, 255, 0.94);
}

.ct-nav--countertop .ct-nav-inner {
	max-width: var(--sf-wrap);
}

.ct-nav--countertop .ct-nav-links {
	gap: 1.25rem;
	flex-wrap: wrap;
	justify-content: flex-end;
}

.ct-nav--countertop .ct-nav-links a,
.ct-nav--countertop .ct-nav-trigger {
	font-size: 0.92rem;
	font-weight: 500;
	color: var(--sf-ink);
}

.ct-nav--countertop .ct-nav-links a:hover,
.ct-nav--countertop .ct-nav-trigger:hover {
	color: var(--sf-ink);
	opacity: 0.75;
}

.ct-nav-link--brand {
	font-weight: 700 !important;
	color: var(--sf-ink) !important;
}

.ct-nav-link.is-active,
.ct-nav-item.is-active .ct-nav-trigger {
	font-weight: 600;
	color: var(--sf-ink);
	box-shadow: inset 0 -2px 0 var(--sf-ink);
}

.ct-nav-item {
	position: relative;
}

.ct-nav-trigger {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	padding: 0.35rem 0;
	background: none;
	border: none;
	cursor: pointer;
	font-family: inherit;
	white-space: nowrap;
}

.ct-nav-chevron {
	display: inline-block;
	width: 0.45rem;
	height: 0.45rem;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: rotate(45deg) translateY(-1px);
	transition: transform 0.15s ease;
}

.ct-nav-item.is-open .ct-nav-chevron {
	transform: rotate(-135deg) translateY(1px);
}

.ct-nav-menu {
	position: absolute;
	top: calc(100% + 0.35rem);
	left: 0;
	min-width: 16rem;
	background: #ffffff;
	border: 1px solid var(--sf-border);
	border-radius: var(--sf-radius);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
	padding: 0.35rem 0;
	z-index: 60;
}

.ct-nav-menu-link {
	display: block;
	padding: 0.7rem 1rem;
	font-size: 0.92rem;
	color: var(--sf-ink);
	font-weight: 500;
}

.ct-nav-menu-link:hover {
	background: var(--sf-cream);
}

.ct-nav-menu-link.is-active {
	font-weight: 600;
	background: var(--sf-surface-muted);
	color: var(--sf-ink);
}

.ct-nav--countertop .ct-nav-cta {
	background: var(--sf-primary);
	color: #ffffff;
	border-radius: var(--sf-radius-btn);
	padding: 0.55rem 1.1rem;
	font-size: 0.9rem;
	font-weight: 600;
}

.ct-nav--countertop .ct-nav-cta:hover {
	background: var(--sf-primary-hover);
}

.ct-subnav {
	background: var(--sf-cream);
	border-bottom: 1px solid var(--sf-border);
	position: sticky;
	top: 0;
	z-index: 40;
}

.ct-subnav-inner {
	max-width: var(--sf-wrap);
	margin: 0 auto;
	padding: 0 2rem;
	display: flex;
	align-items: center;
	gap: 2rem;
	min-height: 3rem;
}

.ct-subnav-brand {
	font-weight: 700;
	font-size: 0.95rem;
	color: var(--sf-ink);
	padding: 0.85rem 0;
	border-bottom: 2px solid transparent;
	white-space: nowrap;
}

.ct-subnav-brand.is-active {
	border-bottom-color: var(--sf-ink);
}

.ct-subnav-links {
	display: flex;
	align-items: stretch;
	gap: 1.75rem;
	flex-wrap: wrap;
}

.ct-subnav-item {
	position: relative;
}

.ct-subnav-trigger,
.ct-subnav-link {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	padding: 0.85rem 0;
	font-size: 0.92rem;
	font-weight: 500;
	color: var(--sf-ink);
	background: none;
	border: none;
	border-bottom: 2px solid transparent;
	cursor: pointer;
	font-family: inherit;
	white-space: nowrap;
}

.ct-subnav-item.is-active .ct-subnav-trigger,
.ct-subnav-link.is-active {
	border-bottom-color: var(--sf-ink);
	font-weight: 600;
}

.ct-subnav-chevron {
	display: inline-block;
	width: 0.45rem;
	height: 0.45rem;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: rotate(45deg) translateY(-1px);
	transition: transform 0.15s ease;
}

.ct-subnav-item.is-open .ct-subnav-chevron {
	transform: rotate(-135deg) translateY(1px);
}

.ct-subnav-menu {
	position: absolute;
	top: calc(100% + 0.25rem);
	left: 0;
	min-width: 16rem;
	background: #ffffff;
	border: 1px solid var(--sf-border);
	border-radius: 8px;
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
	padding: 0.35rem 0;
	z-index: 50;
}

.ct-subnav-menu-link {
	display: block;
	padding: 0.7rem 1rem;
	font-size: 0.92rem;
	color: var(--sf-ink);
}

.ct-subnav-menu-link:hover {
	background: var(--sf-cream);
}

.ct-subnav-menu-link.is-active {
	font-weight: 600;
}

/* Hero */
.ct-sf-hero {
	padding: 4rem 0 2.5rem;
	background: var(--sf-white);
	text-align: left;
	position: relative;
}

.ct-sf-hero::after {
	content: "";
	display: block;
	height: 1px;
	width: 100%;
	max-width: var(--sf-wrap);
	margin: 0 auto;
	background: var(--sf-border);
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
}

.ct-sf-hero--sub {
	padding-top: 3rem;
}

.ct-sf-hero--with-image {
	padding-bottom: 2rem;
}

.ct-sf-hero-split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(2rem, 5vw, 4rem);
	align-items: center;
	margin-bottom: 0.5rem;
}

.ct-sf-hero-split--video-hero {
	grid-template-columns: 1fr 1fr;
}

.ct-sf-hero-split--video-hero .ct-sf-offset-box--media {
	max-width: min(100%, 520px);
	margin-left: auto;
}

/* Workflows hero — animated action chain */
.ct-sf-workflow-hero-anim {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
	max-width: min(100%, 380px);
	margin-left: auto;
	padding: 0.5rem 0 1rem;
}

.ct-sf-workflow-hero-slot {
	position: relative;
	width: 100%;
	overflow: hidden;
}

.ct-sf-workflow-hero-slot--top,
.ct-sf-workflow-hero-slot--bottom {
	min-height: 4.75rem;
}

.ct-sf-workflow-hero-slot--middle {
	min-height: 2.25rem;
	width: 100%;
}

.ct-sf-workflow-hero-slot-inner {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transform: translateX(110%);
	pointer-events: none;
	will-change: transform, opacity;
}

.ct-sf-workflow-hero-slot-inner--visible {
	pointer-events: auto;
}

.ct-sf-workflow-hero-slot-inner--enter {
	animation: ct-sf-workflow-hero-enter var(--sf-workflow-hero-enter, 450ms) ease-out forwards;
}

.ct-sf-workflow-hero-slot-inner--hold {
	opacity: 1;
	transform: translateX(0);
}

.ct-sf-workflow-hero-slot-inner--exit {
	animation: ct-sf-workflow-hero-exit var(--sf-workflow-hero-exit, 450ms) ease-in forwards;
}

.ct-sf-workflow-hero-action {
	width: 100%;
	margin: 0;
	padding: 0.85rem 1.1rem;
	font-weight: 600;
	font-size: 0.95rem;
	line-height: 1.35;
	text-align: center;
}

.ct-sf-workflow-hero-connector {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
	gap: 0.55rem;
	padding: 0.35rem 0;
}

.ct-sf-workflow-hero-line {
	display: block;
	width: 2px;
	height: 1.1rem;
	background: var(--sf-green);
	border-radius: 1px;
	flex-shrink: 0;
}

.ct-sf-workflow-hero-connector-text {
	font-size: 0.88rem;
	font-weight: 600;
	color: var(--sf-muted);
	text-align: center;
	line-height: 1.35;
	padding: 0 0.5rem;
}

@keyframes ct-sf-workflow-hero-enter {
	from {
		opacity: 0;
		transform: translateX(110%);
	}
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

@keyframes ct-sf-workflow-hero-exit {
	from {
		opacity: 1;
		transform: translateX(0);
	}
	to {
		opacity: 0;
		transform: translateX(-110%);
	}
}

@media (prefers-reduced-motion: reduce) {
	.ct-sf-workflow-hero-slot-inner--enter,
	.ct-sf-workflow-hero-slot-inner--exit {
		animation: none;
	}

	.ct-sf-workflow-hero-slot-inner--visible {
		opacity: 1;
		transform: none;
	}
}

.ct-sf-hero-visual {
	position: relative;
	overflow: visible;
	padding-bottom: 10%;
}

.ct-sf-hero-visual-admin {
	width: 100%;
	height: auto;
}

video.ct-sf-hero-visual-admin {
	display: block;
	border-radius: calc(var(--sf-radius) - 2px);
}

.ct-sf-offset-box--media .ct-sf-hero-visual-admin {
	border: none;
}

.ct-sf-hero-visual-admin--native {
	width: auto;
	max-width: min(100%, 650px);
	margin-left: auto;
}

.ct-sf-hero-visual-device-wrap {
	position: absolute;
	right: -6%;
	bottom: 8%;
	width: 44%;
	max-width: 280px;
	z-index: 2;
	filter: drop-shadow(0 16px 32px rgba(0, 0, 0, 0.18));
}

.ct-sf-hero-visual-device-wrap:has(img.ct-sf-hero-visual-device) {
	right: -8%;
	width: 36%;
	max-width: 210px;
}

.ct-sf-hero-visual-device {
	position: relative;
	right: auto;
	bottom: auto;
	width: 100%;
	max-width: none;
	height: auto;
	filter: none;
}

video.ct-sf-hero-visual-device {
	display: block;
	border-radius: 1.25rem;
	border: 1px solid var(--sf-border);
	object-fit: cover;
	object-position: top center;
}

.ct-sf-hero--not-found .ct-sf-hero-inner {
	align-items: center;
	text-align: center;
}

.ct-sf-hero--not-found .ct-sf-display,
.ct-sf-hero--not-found .ct-sf-lead {
	margin-left: auto;
	margin-right: auto;
}

.ct-sf-hero--not-found .ct-sf-hero-actions--center {
	justify-content: center;
}

.ct-sf-hero-inner {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.ct-sf-kicker {
	display: inline-flex;
	align-items: center;
	font-size: 0.72rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--sf-green);
	background: transparent;
	padding: 0 0 0 0.65rem;
	border-left: 2px solid var(--sf-green);
	border-radius: 0;
	margin-bottom: 1rem;
}

.ct-sf-display {
	font-size: clamp(2.25rem, 5vw, 3.5rem);
	font-weight: 700;
	line-height: 1.1;
	max-width: 18ch;
	margin: 0 0 1rem;
	color: var(--sf-ink);
}

.ct-sf-display--sub {
	max-width: 22ch;
	font-size: clamp(2rem, 4.5vw, 3rem);
}

.ct-sf-lead {
	font-size: 1.0625rem;
	line-height: 1.65;
	color: var(--sf-muted);
	max-width: 40rem;
	margin: 0 0 1.75rem;
}

.ct-sf-hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-bottom: 1rem;
}

.ct-sf-hero-actions--center {
	justify-content: flex-start;
}

.ct-sf-hero-rating-link {
	display: inline-flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 0 0 1rem;
	color: var(--sf-muted);
	font-size: 0.875rem;
	line-height: 1.4;
	text-decoration: none;
	transition: color 0.15s ease;
}

.ct-sf-hero-rating-link:hover {
	color: var(--sf-ink);
}

.ct-sf-hero-rating-stars {
	color: #f5a623;
	letter-spacing: 0.1em;
	font-size: 0.8rem;
	line-height: 1;
}

.ct-sf-hero-rating-label {
	font-weight: 500;
}

.ct-sf-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.65rem 1.25rem;
	border-radius: var(--sf-radius-btn);
	font-size: 0.95rem;
	font-weight: 600;
	border: 1px solid transparent;
	cursor: pointer;
	transition: background 0.15s ease, border-color 0.15s ease;
}

.ct-sf-btn--primary {
	background: var(--sf-primary);
	color: #ffffff;
}

.ct-sf-btn--primary:hover {
	background: var(--sf-primary-hover);
}

.ct-sf-btn--secondary {
	background: #ffffff;
	color: var(--sf-ink);
	border-color: var(--sf-border-strong);
}

.ct-sf-btn--secondary:hover {
	background: var(--sf-cream);
	border-color: var(--sf-green);
	color: var(--sf-ink);
}

.ct-sf-hero-note {
	font-size: 0.9rem;
	color: var(--sf-muted);
}

.ct-sf-hero-note--center {
	text-align: left;
}

.ct-sf-hero-note a {
	color: var(--sf-muted);
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

.ct-sf-hero-note a:hover {
	color: var(--sf-ink);
}

/* Hero examples strip */
.ct-sf-hero-examples,
.ct-sf-logos {
	width: 100%;
	margin-top: 3rem;
	padding-top: 2rem;
	border-top: 1px solid var(--sf-border);
}

.ct-sf-hero-examples-heading {
	text-align: center;
	font-size: 0.75rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--sf-muted);
	margin-bottom: 1.25rem;
}

.ct-sf-hero-examples-list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 1rem 1.5rem;
	list-style: none;
}

.ct-sf-hero-examples-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.65rem;
	width: 7.5rem;
	text-decoration: none;
	color: inherit;
}

.ct-sf-hero-examples-card:hover .ct-sf-hero-examples-label {
	color: var(--sf-ink);
}

.ct-sf-hero-examples-visual {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 4.5rem;
	height: 4.5rem;
	background: var(--sf-cream);
	border: 1px solid var(--sf-border);
	border-radius: var(--sf-radius);
	overflow: hidden;
}

.ct-sf-hero-examples-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ct-sf-hero-examples-pixel {
	display: block;
	width: 100%;
	height: 100%;
}

.ct-sf-hero-examples-fallback {
	display: block;
	width: 1.5rem;
	height: 1.5rem;
	border-radius: 50%;
	background: var(--sf-border);
}

.ct-sf-hero-examples-label {
	font-size: 0.82rem;
	font-weight: 600;
	line-height: 1.3;
	text-align: center;
	color: var(--sf-muted);
	letter-spacing: -0.01em;
}

.ct-sf-logos-list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 1.5rem 2.5rem;
	list-style: none;
}

.ct-sf-logos-list li {
	font-size: 0.95rem;
	font-weight: 600;
	color: #8a8a8a;
	letter-spacing: -0.01em;
}

/* Sections */
.ct-sf-section {
	padding: 4rem 0;
}

.ct-sf-section--white {
	background: var(--sf-white);
}

.ct-sf-section--cream {
	background: var(--sf-cream);
}

.ct-sf-section--stone {
	background-color: var(--sf-stone);
	background-image: radial-gradient(circle, rgba(0, 61, 44, 0.11) 1px, transparent 1.2px);
	background-size: 18px 18px;
}

.ct-sf-stat-band {
	padding: 2.75rem 0;
	border-top: 1px solid var(--sf-border);
	border-bottom: 1px solid var(--sf-border);
}

.ct-sf-section-kicker {
	font-size: 0.75rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	margin-bottom: 0.75rem;
	color: var(--sf-green);
}

.ct-sf-section-title {
	font-size: clamp(1.75rem, 4vw, 2.75rem);
	font-weight: 700;
	line-height: 1.15;
	margin-bottom: 1.25rem;
	max-width: 22ch;
}

.ct-sf-section-title--center {
	text-align: center;
	max-width: none;
	margin-left: auto;
	margin-right: auto;
}

.ct-sf-section-title--sm {
	font-size: clamp(1.5rem, 3.5vw, 2.25rem);
	max-width: 24ch;
}

.ct-sf-section-lead {
	font-size: 1.125rem;
	line-height: 1.6;
	color: var(--sf-muted);
	max-width: 42rem;
	margin-bottom: 2rem;
}

/* Offset box — content panel */
.ct-sf-offset-box {
	background: var(--sf-white);
	border: 1px solid var(--sf-border);
	padding: clamp(1.5rem, 4vw, 2.5rem);
}

/* Media / screenshot frame — no stamp */
.ct-sf-frame {
	background: var(--sf-white);
	border: 1px solid var(--sf-border);
	padding: 0.65rem;
}

.ct-sf-frame--on-stone {
	background: var(--sf-white);
}

.ct-sf-frame--video {
	padding: 0.5rem;
}

.ct-sf-frame--wide {
	max-width: none;
}

.ct-sf-frame .ct-sf-screenshot {
	border: none;
}

.ct-sf-frame .ct-sf-screenshot--video {
	display: block;
	width: 100%;
	height: auto;
	border-radius: calc(var(--sf-radius) - 2px);
}

.ct-sf-inset-panel {
	padding: 0.25rem 0;
	max-width: 40rem;
}

.ct-sf-inset-panel .ct-sf-section-lead:last-child {
	margin-bottom: 0;
}

.ct-sf-offset-box--on-cream {
	background: var(--sf-cream);
}

.ct-sf-offset-box--compact {
	padding: clamp(1.25rem, 3vw, 2rem);
}

.ct-sf-offset-box--media {
	padding: 0.75rem;
}

.ct-sf-offset-box--media .ct-sf-screenshot {
	border: none;
}

.ct-sf-offset-box--media .ct-sf-screenshot--video {
	display: block;
	width: 100%;
	height: auto;
	border-radius: calc(var(--sf-radius) - 2px);
}

.ct-sf-offset-box--media-video {
	padding: 0.5rem;
}

.ct-sf-offset-box .ct-sf-section-lead:last-of-type {
	margin-bottom: 1.5rem;
}

.ct-sf-offset-box .ct-sf-pillar-grid {
	margin-bottom: 0;
}

.ct-sf-text-link {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	font-weight: 600;
	font-size: 0.95rem;
	color: var(--sf-ink);
	margin-top: 0.75rem;
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

.ct-sf-text-link::after {
	content: "→";
	font-size: 1em;
	text-decoration: none;
}

.ct-sf-text-link:hover {
	color: var(--sf-muted);
}

/* Business size cards */
.ct-sf-size-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.25rem;
}

.ct-sf-size-card {
	display: flex;
	flex-direction: column;
	background: var(--sf-white);
	border: 1px solid var(--sf-border);
	border-radius: var(--sf-radius);
	overflow: hidden;
	color: inherit;
	transition: border-color 0.15s ease, transform 0.15s ease;
}

.ct-sf-size-card:hover {
	transform: translateY(-2px);
	border-color: var(--sf-border-strong);
}

.ct-sf-size-card-visual {
	aspect-ratio: 4 / 3;
	background: var(--sf-cream);
	border-bottom: 1px solid var(--sf-border);
}

.ct-sf-size-card--sage .ct-sf-size-card-visual {
	background: var(--sf-surface-muted);
}

.ct-sf-size-card--sand .ct-sf-size-card-visual {
	background: #f5f0e8;
}

.ct-sf-size-card--clay .ct-sf-size-card-visual {
	background: #eeecea;
}

.ct-sf-size-card h3,
.ct-sf-size-card p {
	padding: 0 1.25rem;
}

.ct-sf-size-card h3 {
	padding-top: 1.25rem;
}

.ct-sf-size-card p {
	flex: 1;
	color: var(--sf-muted);
	line-height: 1.55;
	font-size: 0.95rem;
	padding-bottom: 0.5rem;
}

.ct-sf-size-card .ct-sf-text-link {
	padding: 0 1.25rem 1.25rem;
}

.ct-sf-card-title {
	font-size: 1.35rem;
	font-weight: 700;
	line-height: 1.25;
	margin-bottom: 0.5rem;
}

/* Split layouts */
.ct-sf-split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 3rem;
	align-items: center;
}

.ct-sf-split--reverse .ct-sf-split-copy {
	order: 2;
}

.ct-sf-split--reverse .ct-sf-split-visual {
	order: 1;
}

.ct-sf-stack-list {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 1rem;
	margin-top: 1.5rem;
}

.ct-sf-stack-list a {
	display: block;
	padding: 1rem 0;
	border-top: 1px solid var(--sf-border);
	color: inherit;
}

.ct-sf-stack-list a strong {
	display: block;
	font-size: 1.1rem;
	font-weight: 600;
	margin-bottom: 0.25rem;
}

.ct-sf-stack-list a span {
	color: var(--sf-muted);
	font-size: 0.95rem;
	line-height: 1.5;
}

.ct-sf-device-stage {
	background: var(--sf-cream);
	border: 1px solid var(--sf-border);
	border-radius: var(--sf-radius);
	padding: 1.25rem;
}

.ct-sf-device-stage--compact {
	max-width: 320px;
	margin: 0 auto;
}

.ct-sf-device-screen {
	background: #ffffff;
	border: 1px solid var(--sf-border);
	border-radius: var(--sf-radius);
	aspect-ratio: 4 / 3;
	padding: 1rem;
}

.ct-sf-device-tiles {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0.5rem;
	height: 100%;
}

.ct-sf-device-tiles span {
	background: var(--sf-white);
	border-radius: 0;
	border: 2px solid var(--sf-border);
}

.ct-sf-device-tiles span:first-child {
	background: var(--sf-green);
	border-color: var(--sf-green);
	box-shadow: 3px 3px 0 0 var(--sf-green-strong);
}

/* Feature rows */
.ct-sf-feature-rows {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2rem;
	margin-top: 2rem;
}

.ct-sf-feature-rows--cards {
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.ct-sf-feature-row p {
	color: var(--sf-muted);
	line-height: 1.55;
	font-size: 0.95rem;
}

.ct-sf-feature-row--card {
	padding: 1.5rem;
	background: var(--sf-white);
	border: 1px solid var(--sf-border);
	border-radius: var(--sf-radius);
}

.ct-sf-industry-setup-grid {
	margin-top: 2rem;
}

.ct-sf-industry-setup-type {
	margin: 0 0 0.5rem;
	font-size: 0.8rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.ct-sf-industry-setup-type a {
	color: var(--sf-muted);
}

.ct-sf-industry-setup-type a:hover {
	color: var(--sf-ink);
}

/* Landing highlight sections — full-width split rows with imagery */
.ct-sf-highlight-section {
	padding-top: clamp(3rem, 6vw, 5rem);
	padding-bottom: clamp(3rem, 6vw, 5rem);
}

.ct-sf-highlight-split {
	gap: clamp(2rem, 5vw, 4rem);
}

.ct-sf-highlight-split--video {
	grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
}

.ct-sf-highlight-split--media-wide {
	grid-template-columns: minmax(0, 0.48fr) minmax(0, 1.52fr);
}

.ct-sf-frame--wide {
	padding: 0.4rem;
}

.ct-sf-highlight-text-only {
	display: flex;
	justify-content: center;
	max-width: 44rem;
	margin: 0 auto;
}

.ct-sf-highlight-copy-box {
	width: 100%;
	text-align: center;
	padding: 0;
}

.ct-sf-highlight-copy-box .ct-sf-section-title--sm {
	max-width: none;
	margin-left: auto;
	margin-right: auto;
}

.ct-sf-highlight-copy-box .ct-sf-highlight-lead {
	margin-left: auto;
	margin-right: auto;
}

.ct-sf-highlight-copy .ct-sf-section-title--sm {
	margin-bottom: 1rem;
}

.ct-sf-highlight-lead {
	margin-bottom: 0;
	max-width: 36rem;
}

.ct-sf-highlight-pixel {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 220px;
	padding: 2rem;
}

.ct-sf-highlight-visual-fallback {
	aspect-ratio: 4 / 3;
	background: var(--sf-cream);
	border-radius: var(--sf-radius);
	border: 1px dashed var(--sf-border);
}

.ct-sf-section--cream .ct-sf-highlight-visual-fallback {
	background: var(--sf-white);
}

/* Quote panel */
.ct-sf-quote-panel {
	background: var(--sf-white);
	border: 1px solid var(--sf-border);
	border-radius: var(--sf-radius);
	padding: 1.75rem;
}

.ct-sf-quote-panel--large blockquote {
	font-size: 1.35rem;
	line-height: 1.45;
	font-weight: 330;
	margin: 0.75rem 0 1rem;
}

.ct-sf-quote-stars {
	color: #f5a623;
	letter-spacing: 0.1em;
	font-size: 0.9rem;
}

.ct-sf-quote-panel cite {
	font-style: normal;
	font-weight: 600;
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
}

.ct-sf-quote-context {
	font-weight: 400;
	color: var(--sf-muted);
	font-size: 0.9rem;
}

/* Pills & feature grid */
.ct-sf-pill-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem;
}

.ct-sf-pill {
	display: inline-flex;
	padding: 0.55rem 1rem;
	background: var(--sf-white);
	border: 1px solid var(--sf-border);
	border-radius: var(--sf-radius);
	font-size: 0.92rem;
	font-weight: 500;
}

.ct-sf-section--cream .ct-sf-pill {
	background: var(--sf-white);
}

.ct-sf-pill:hover {
	border-color: var(--sf-border-strong);
	color: var(--sf-ink);
}

.ct-sf-feature-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 1rem;
	margin-top: 1.5rem;
}

.ct-sf-feature-card {
	display: flex;
	flex-direction: column;
	background: var(--sf-white);
	border: 1px solid var(--sf-border);
	border-radius: var(--sf-radius);
	padding: 1.5rem;
	color: inherit;
	min-height: 100%;
	transition: border-color 0.15s ease;
}

.ct-sf-feature-card:hover {
	border-color: var(--sf-border-strong);
}

.ct-sf-feature-card p {
	flex: 1;
	color: var(--sf-muted);
	line-height: 1.55;
	font-size: 0.95rem;
}

.ct-sf-feature-card--partners {
	background: var(--sf-ink);
	color: #ffffff;
	border-color: var(--sf-ink);
}

.ct-sf-feature-card--partners p {
	color: rgba(255, 255, 255, 0.75);
}

.ct-sf-feature-card--partners .ct-sf-text-link {
	color: #ffffff;
}

/* Steps */
.ct-sf-steps {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2rem;
	margin: 2rem 0 2.5rem;
}

.ct-sf-step-num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2rem;
	height: 2rem;
	border-radius: var(--sf-radius);
	background: var(--sf-ink);
	color: #ffffff;
	font-size: 0.85rem;
	font-weight: 600;
	margin-bottom: 1rem;
}

.ct-sf-step p {
	color: var(--sf-muted);
	line-height: 1.55;
	font-size: 0.95rem;
}

/* Resources */
.ct-sf-resource-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.25rem;
}

.ct-sf-actions-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1.25rem;
	margin-top: 2.5rem;
}

.ct-sf-actions-group {
	background: var(--sf-white);
	border: 1px solid var(--sf-border);
	border-radius: var(--sf-radius);
	padding: 1.35rem 1.5rem;
}

.ct-sf-actions-group-title {
	font-family: var(--font-body);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--sf-green);
	margin: 0 0 0.9rem;
}

.ct-sf-actions-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
}

.ct-sf-actions-list li {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
	font-size: 0.92rem;
	line-height: 1.45;
	color: var(--sf-muted);
}

.ct-sf-actions-list strong {
	color: var(--sf-ink);
	font-weight: 600;
}

.ct-sf-actions-footnote {
	max-width: 42rem;
	margin: 2.25rem auto 0;
	text-align: center;
	font-size: 0.95rem;
	line-height: 1.6;
	color: var(--sf-muted);
}

.ct-sf-actions-footnote a {
	color: var(--sf-ink);
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

.ct-sf-resource-card {
	display: flex;
	flex-direction: column;
	background: var(--sf-white);
	border-radius: var(--sf-radius);
	overflow: hidden;
	color: inherit;
	border: 1px solid var(--sf-border);
	transition: border-color 0.15s ease;
}

.ct-sf-resource-card:hover {
	border-color: var(--sf-border-strong);
}

.ct-sf-resource-card--static {
	cursor: default;
}

.ct-sf-resource-visual {
	aspect-ratio: 16 / 10;
	background: var(--sf-cream);
	border-bottom: 1px solid var(--sf-border);
}

.ct-sf-resource-card h3,
.ct-sf-resource-card p,
.ct-sf-resource-card .ct-sf-text-link,
.ct-sf-resource-card--static h3,
.ct-sf-resource-card--static p {
	padding-left: 1.25rem;
	padding-right: 1.25rem;
}

.ct-sf-resource-card h3,
.ct-sf-resource-card--static h3 {
	padding-top: 1.25rem;
}

.ct-sf-resource-card p,
.ct-sf-resource-card--static p {
	flex: 1;
	color: var(--sf-muted);
	line-height: 1.55;
	font-size: 0.95rem;
	padding-bottom: 0.5rem;
}

.ct-sf-resource-card .ct-sf-text-link {
	padding-bottom: 1.25rem;
}

.ct-sf-changelog-date {
	display: block;
	padding: 1.25rem 1.25rem 0;
	font-size: 0.8rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--sf-muted);
}

/* Final CTA & footer */
.ct-sf-final-cta {
	text-align: center;
	padding: 5rem 0;
	border-top: 1px solid var(--sf-border);
}

.ct-sf-final-cta-inner {
	max-width: 40rem;
	margin: 0 auto;
}

.ct-sf-final-cta .ct-sf-hero-actions--center {
	justify-content: center;
}

.ct-sf-final-cta .ct-sf-hero-note--center {
	text-align: center;
}

.ct-sf-footer {
	background: var(--sf-white);
	border-top: 1px solid var(--sf-border);
	padding: 2rem 0 3rem;
}

.ct-sf-footer-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem 2rem;
	color: var(--sf-muted);
	font-size: 0.9rem;
}

.ct-sf-footer-links {
	display: flex;
	flex-wrap: wrap;
	gap: 1.25rem;
	margin-left: auto;
}

.ct-sf-footer-links a {
	color: var(--sf-ink);
	font-weight: 500;
}

.ct-sf-related {
	padding-top: 2rem;
	padding-bottom: 2rem;
}

@media (max-width: 960px) {
	.ct-sf-size-grid,
	.ct-sf-feature-rows,
	.ct-sf-steps,
	.ct-sf-hero-home-grid,
	.ct-sf-resource-grid,
	.ct-sf-actions-grid,
	.ct-sf-split,
	.ct-sf-hero-split {
		grid-template-columns: 1fr;
	}

	.ct-sf-hero-visual-device-wrap {
		width: 48%;
		max-width: 240px;
		right: -4%;
		bottom: 6%;
	}

	.ct-sf-hero-visual-device-wrap:has(img.ct-sf-hero-visual-device) {
		width: 42%;
		max-width: 180px;
	}

	.ct-sf-split--reverse .ct-sf-split-copy,
	.ct-sf-split--reverse .ct-sf-split-visual {
		order: unset;
	}

	.ct-sf-section-title {
		max-width: none;
	}

	.ct-sf-footer-links {
		margin-left: 0;
	}
}

@media (max-width: 768px) {
	.ct-subnav-inner {
		flex-direction: column;
		align-items: flex-start;
		gap: 0;
		padding-bottom: 0.5rem;
	}

	.ct-subnav-links {
		width: 100%;
		overflow-x: auto;
		flex-wrap: nowrap;
		padding-bottom: 0.35rem;
	}

	.ct-sf-wrap {
		padding: 0 1.25rem;
	}

	.ct-sf-hero {
		padding-top: 2.5rem;
	}
}

/* =============================================
   Homepage marketing sections
   Scoped to .ct-marketing-root--countertop
   ============================================= */

.ct-sf-hero--home {
	padding-bottom: 0;
}

/* Cinema hero — centered headline + full-width video */
.ct-sf-home-scroll {
	--home-scroll: 0;
	position: relative;
	overflow: hidden;
	padding-bottom: clamp(1.5rem, 3vw, 2.5rem);
	background-color: var(--sf-cream);
	background-image:
		radial-gradient(circle, rgba(0, 61, 44, 0.11) 1px, transparent 1.2px),
		linear-gradient(180deg, var(--sf-white) 0%, var(--sf-cream) 100%);
	background-size: 18px 18px, auto;
}

/* Retail line-art backdrop */
.ct-sf-hero-backdrop {
	position: absolute;
	inset: 0;
	pointer-events: none;
	z-index: 0;
	overflow: hidden;
}

.ct-sf-hero-backdrop-icon {
	position: absolute;
	color: var(--sf-green);
	opacity: 0.14;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.ct-sf-hero-backdrop-icon--receipt {
	top: 6%;
	left: 2%;
	width: clamp(52px, 7vw, 84px);
	transform: rotate(-8deg) translateY(calc(var(--home-scroll) * 28px));
}

.ct-sf-hero-backdrop-icon--bag {
	top: 14%;
	right: 3%;
	width: clamp(56px, 8vw, 96px);
	transform: rotate(10deg) translateY(calc(var(--home-scroll) * 18px));
}

.ct-sf-hero-backdrop-icon--barcode {
	top: 42%;
	left: 1%;
	width: clamp(72px, 10vw, 120px);
	opacity: 0.11;
	transform: rotate(-4deg) translateY(calc(var(--home-scroll) * 36px));
}

.ct-sf-hero-backdrop-icon--tag {
	top: 52%;
	right: 2%;
	width: clamp(60px, 8vw, 92px);
	transform: rotate(14deg) translateY(calc(var(--home-scroll) * 32px));
}

.ct-sf-hero-backdrop-icon--hanger {
	top: 28%;
	left: 8%;
	width: clamp(64px, 9vw, 104px);
	opacity: 0.1;
	transform: rotate(-12deg) translateY(calc(var(--home-scroll) * 22px));
}

.ct-sf-hero-backdrop-icon--terminal {
	top: 34%;
	right: 9%;
	width: clamp(68px, 9vw, 108px);
	opacity: 0.12;
	transform: rotate(6deg) translateY(calc(var(--home-scroll) * 26px));
}

.ct-sf-hero-backdrop-icon--shelf {
	bottom: 18%;
	left: 4%;
	width: clamp(96px, 14vw, 160px);
	opacity: 0.1;
	transform: translateY(calc(var(--home-scroll) * 44px));
}

.ct-sf-hero-backdrop-icon--box {
	bottom: 22%;
	right: 5%;
	width: clamp(56px, 8vw, 88px);
	opacity: 0.12;
	transform: rotate(-6deg) translateY(calc(var(--home-scroll) * 40px));
}

.ct-sf-hero--cinema,
.ct-sf-home-scroll-bridge,
.ct-sf-feature-slider-section--parallax {
	position: relative;
	z-index: 1;
}

.ct-sf-feature-slider-section--parallax {
	z-index: 3;
}

.ct-sf-hero--cinema {
	padding: clamp(2.5rem, 6vw, 4.5rem) 0 0;
	text-align: center;
	overflow: visible;
}

.ct-sf-hero--cinema::after {
	display: none;
}

.ct-sf-hero-cinema-inner {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.ct-sf-hero-cinema-copy {
	display: flex;
	flex-direction: column;
	align-items: center;
	max-width: 52rem;
	margin: 0 auto;
}

.ct-sf-kicker--center {
	justify-content: center;
	padding-left: 0;
	border-left: none;
	padding-bottom: 0.65rem;
	border-bottom: 2px solid var(--sf-green);
}

.ct-sf-display--cinema {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.15em;
	max-width: none;
	font-size: clamp(2.75rem, 7.5vw, 4.75rem);
	line-height: 1.02;
	letter-spacing: -0.025em;
	margin-bottom: 1.25rem;
}

.ct-sf-display-line {
	display: block;
}

.ct-sf-display-line--accent {
	color: var(--sf-green);
}

.ct-sf-lead--cinema {
	max-width: 38rem;
	margin-left: auto;
	margin-right: auto;
	font-size: clamp(1.05rem, 2.2vw, 1.2rem);
	text-align: center;
}

.ct-sf-hero-actions--center {
	justify-content: center;
}

.ct-sf-hero-rating-link--center {
	justify-content: center;
	margin-bottom: 0;
}

.ct-sf-hero-cinema-media {
	width: min(100%, 75rem);
	margin: clamp(2rem, 5vw, 3.25rem) auto 0;
	padding: 0 clamp(0.5rem, 2vw, 1rem);
	transform: translateY(calc(var(--home-scroll) * -48px));
	opacity: calc(1 - var(--home-scroll) * 0.2);
}

.ct-sf-hero-cinema-media-frame--admin {
	width: 100%;
	max-width: 75rem;
}

.ct-sf-hero-cinema-tabs {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.55rem;
	margin-bottom: 1rem;
}

.ct-sf-hero-cinema-tab {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.55rem 1.1rem;
	border: 2px solid var(--sf-border);
	background: var(--sf-white);
	color: var(--sf-ink);
	font-family: var(--font-body);
	font-size: 0.92rem;
	font-weight: 600;
	line-height: 1.2;
	border-radius: var(--sf-radius-btn);
	cursor: pointer;
	transition:
		border-color 0.2s ease,
		background 0.2s ease,
		box-shadow 0.2s ease,
		transform 0.2s ease;
}

.ct-sf-hero-cinema-tab:hover {
	border-color: var(--sf-green);
}

.ct-sf-hero-cinema-tab.is-active {
	border-color: var(--sf-green);
	background: var(--sf-green-soft);
}

.ct-sf-hero-cinema-tab:focus-visible {
	outline: 2px solid var(--sf-green);
	outline-offset: 2px;
}

.ct-sf-hero-cinema-tabpanels {
	width: 100%;
}

.ct-sf-hero-cinema-showcase {
	display: none;
}

.ct-sf-hero-cinema-showcase.is-active {
	display: flex;
}

.ct-sf-hero-cinema-showcase--admin.is-active,
.ct-sf-hero-cinema-showcase--mobile.is-active {
	flex-direction: column;
	align-items: center;
	gap: 1rem;
}

.ct-sf-hero-cinema-usecase-nav {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 0.45rem 1.15rem;
	width: 100%;
	max-width: 48rem;
}

.ct-sf-hero-cinema-usecase-nav--admin,
.ct-sf-hero-cinema-usecase-nav--mobile {
	width: 100%;
}

.ct-sf-hero-cinema-usecase-nav-item {
	display: inline-flex;
	align-items: flex-start;
	gap: 0.55rem;
	padding: 0.15rem 0;
	border: none;
	background: none;
	color: var(--sf-muted);
	font-family: var(--font-body);
	font-size: 0.9rem;
	font-weight: 500;
	line-height: 1.35;
	text-align: left;
	cursor: pointer;
	transition: color 0.15s ease;
}

.ct-sf-hero-cinema-usecase-nav-item::before {
	content: "";
	width: 0.42rem;
	height: 0.42rem;
	border-radius: 50%;
	background: rgba(0, 61, 44, 0.22);
	margin-top: 0.42em;
	flex-shrink: 0;
	transition:
		background 0.2s ease,
		transform 0.2s ease;
}

.ct-sf-hero-cinema-usecase-nav-item:hover {
	color: var(--sf-ink);
}

.ct-sf-hero-cinema-usecase-nav-item.is-active {
	color: var(--sf-ink);
	font-weight: 600;
}

.ct-sf-hero-cinema-usecase-nav-item.is-active::before {
	background: var(--sf-green);
	transform: scale(1.2);
}

.ct-sf-hero-cinema-usecase-nav-item:focus-visible {
	outline: 2px solid var(--sf-green);
	outline-offset: 3px;
	border-radius: 2px;
}

.ct-sf-hero-cinema-media-frame {
	position: relative;
	width: 100%;
	border: 1px solid var(--sf-border);
	background: var(--sf-white);
	box-shadow: 0 24px 48px rgba(0, 61, 44, 0.12);
	overflow: hidden;
	aspect-ratio: 16 / 9;
	transition: aspect-ratio 0.35s ease, max-width 0.35s ease;
}

.ct-sf-hero-cinema-media-frame--mobile {
	aspect-ratio: 1284 / 2778;
	width: min(100%, 320px);
	margin: 0 auto;
}

.ct-sf-hero-cinema-media-stage {
	position: relative;
	width: 100%;
	height: 100%;
}

.ct-sf-hero-cinema-carousel {
	position: absolute;
	inset: 0;
	opacity: 1;
	pointer-events: none;
	transition: opacity 0.35s ease;
}

.ct-sf-hero-cinema-carousel:not(.is-active) {
	opacity: 0;
}

.ct-sf-hero-cinema-carousel.is-active {
	opacity: 1;
	pointer-events: auto;
}

.ct-sf-hero-cinema-video-viewport {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.ct-sf-hero-cinema-video--admin,
.ct-sf-hero-cinema-video--mobile {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
	opacity: 1;
	transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1);
	position: absolute;
	inset: 0;
}

.ct-sf-hero-cinema-video-viewport .ct-sf-hero-cinema-video:not(.is-active) {
	opacity: 0;
}

.ct-sf-hero-cinema-video--admin {
	object-fit: contain;
	object-position: center center;
}

.ct-sf-hero-cinema-video--mobile {
	object-position: top center;
}

.ct-sf-hero-cinema-video--admin.is-active,
.ct-sf-hero-cinema-video--mobile.is-active {
	opacity: 1;
}

.ct-sf-home-scroll-bridge {
	position: relative;
	z-index: 2;
	margin-top: clamp(2rem, 4vw, 3rem);
	padding: 0;
}

.ct-sf-home-scroll-bridge .ct-sf-stat-grid {
	margin: 0 auto;
	max-width: 56rem;
	padding: 1.5rem 0;
	border-top: 1px solid var(--sf-border);
	border-bottom: 1px solid var(--sf-border);
}

.ct-sf-feature-slider-section--parallax {
	position: relative;
	z-index: 3;
	margin-top: calc(-1 * clamp(1rem, 3vw, 2rem));
	padding-top: clamp(2.5rem, 5vw, 3.5rem);
	border-radius: clamp(1.25rem, 3vw, 2rem) clamp(1.25rem, 3vw, 2rem) 0 0;
	box-shadow: 0 -24px 48px rgba(0, 61, 44, 0.08);
	transform: translateY(calc(var(--home-scroll) * -96px));
}

.ct-sf-feature-slider-section--parallax .ct-sf-section-kicker,
.ct-sf-feature-slider-section--parallax .ct-sf-section-title,
.ct-sf-feature-slider-section--parallax .ct-sf-feature-slider-lead {
	text-align: center;
	margin-left: auto;
	margin-right: auto;
}

@media (prefers-reduced-motion: reduce) {
	.ct-sf-hero-cinema-video--admin,
	.ct-sf-hero-cinema-video--mobile,
	.ct-sf-hero-cinema-carousel,
	.ct-sf-hero-cinema-media-frame {
		transition: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ct-sf-hero-backdrop-icon {
		transform: none !important;
	}
}

@media (max-width: 900px) {
	.ct-sf-hero-backdrop-icon--hanger,
	.ct-sf-hero-backdrop-icon--terminal,
	.ct-sf-hero-backdrop-icon--shelf {
		display: none;
	}

	.ct-sf-hero-backdrop-icon {
		opacity: 0.1;
	}
}

@media (max-width: 560px) {
	.ct-sf-hero-backdrop-icon--barcode,
	.ct-sf-hero-backdrop-icon--box {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ct-sf-hero-cinema-media,
	.ct-sf-feature-slider-section--parallax {
		transform: none;
		opacity: 1;
	}
}

@media (max-width: 720px) {
	.ct-sf-hero-cinema-usecase-nav {
		gap: 0.4rem 0.85rem;
		max-width: 100%;
	}

	.ct-sf-hero-cinema-usecase-nav-item {
		font-size: 0.82rem;
	}

	.ct-sf-hero-cinema-media-frame--mobile {
		width: min(72vw, 280px);
	}

	.ct-sf-feature-slider-section--parallax {
		margin-top: -1.5rem;
		border-radius: 1.25rem 1.25rem 0 0;
	}
}

.ct-sf-hero-home-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	gap: clamp(2rem, 5vw, 4rem);
	align-items: center;
	margin-bottom: 1rem;
}

.ct-sf-hero-home-copy {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.ct-sf-hero-home-visual {
	width: 100%;
}

.ct-sf-hero-stage-wrap {
	width: 100%;
	max-width: 720px;
	margin: 2.5rem 0 1.5rem;
}

.ct-sf-hero-stage {
	background: var(--sf-white);
	border: 2px solid var(--sf-green);
	border-radius: 0;
	padding: clamp(1rem, 2.5vw, 1.5rem);
	box-shadow: 6px 6px 0 0 var(--sf-green);
}

.ct-sf-hero-stage--wide {
	min-height: clamp(200px, 28vw, 300px);
	display: flex;
	align-items: center;
	justify-content: center;
}

.ct-sf-hero-stage .ct-sf-device-screen {
	width: min(420px, 72%);
	aspect-ratio: 4 / 3;
	margin: 0 auto;
}

/* Hero use-case animation (beside headline) */
.ct-sf-hero-animation {
	width: 100%;
}

.ct-sf-hero-animation-label {
	margin: 0 0 0.85rem;
	padding-left: 0.65rem;
	border-left: 2px solid var(--sf-green);
	color: var(--sf-green);
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	min-height: 1.2em;
	transition: opacity 0.35s ease;
}

.ct-sf-hero-animation-stage.ct-sf-hero-stage--wide {
	min-height: clamp(250px, 31vw, 330px);
	padding: clamp(0.85rem, 2vw, 1.15rem);
	display: block;
}

.ct-sf-hero-animation-viewport {
	position: relative;
	width: 100%;
	height: 100%;
	min-height: clamp(210px, 26vw, 280px);
}

.ct-sf-hero-scenario {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transform: translateY(10px);
	transition:
		opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1),
		transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
	pointer-events: none;
}

.ct-sf-hero-scenario.is-active {
	opacity: 1;
	transform: translateY(0);
	pointer-events: auto;
}

@media (prefers-reduced-motion: reduce) {
	.ct-sf-hero-scenario {
		transition: none;
	}
}

.ct-sf-hero-animation-dots {
	display: flex;
	justify-content: center;
	gap: 0.45rem;
	margin-top: 0.85rem;
}

.ct-sf-hero-animation-dot {
	width: 0.45rem;
	height: 0.45rem;
	background: rgba(0, 61, 44, 0.2);
	transition: background 0.25s ease, transform 0.25s ease;
}

.ct-sf-hero-animation-dot.is-active {
	background: var(--sf-green);
	transform: scale(1.15);
}

.ct-marketing-root--countertop .ct-sf-hero-animation-stage.ct-sf-home-mocks .ct-pos-stage {
	max-width: min(100%, 380px);
	margin: 0 auto;
	padding: 0 0 1.75rem 0.35rem;
}

.ct-marketing-root--countertop .ct-sf-hero-animation-stage.ct-sf-home-mocks .ct-device--ipad {
	padding: 0;
	border-radius: 0;
	background: var(--sf-white);
	border: 2px solid var(--sf-green);
	box-shadow: 4px 4px 0 0 var(--sf-green);
}

.ct-marketing-root--countertop .ct-sf-hero-animation-stage.ct-sf-home-mocks .ct-device--ipad::before {
	display: none;
}

.ct-marketing-root--countertop
	.ct-sf-hero-animation-stage.ct-sf-home-mocks
	.ct-device--ipad
	.ct-device-screen {
	border-radius: 0;
	background: var(--sf-stone);
}

.ct-marketing-root--countertop .ct-sf-hero-animation-stage.ct-sf-home-mocks .ct-pos {
	--pos-bg: var(--sf-stone);
	--pos-card: #ffffff;
	--pos-input: #ffffff;
	--pos-border: var(--sf-border);
	--pos-ink: var(--sf-ink);
	--pos-ink-2: var(--sf-muted);
	--pos-ink-3: #8a8a8a;
	--pos-action: var(--sf-green);
	--pos-success: var(--sf-green);
	--pos-success-surface: rgba(0, 61, 44, 0.1);
	--pos-success-border: var(--sf-green);
	border-radius: 0;
	border: 1px solid var(--sf-border);
	box-shadow: none;
	font-size: clamp(11px, 1.2vw, 13px);
}

.ct-marketing-root--countertop .ct-sf-hero-animation-stage.ct-sf-home-mocks .ct-pos-bar {
	border-bottom: 1px solid var(--sf-border);
}

.ct-marketing-root--countertop .ct-sf-hero-animation-stage.ct-sf-home-mocks .ct-pos-bar-dot,
.ct-marketing-root--countertop .ct-sf-hero-animation-stage.ct-sf-home-mocks .ct-pos-kw,
.ct-marketing-root--countertop .ct-sf-hero-animation-stage.ct-sf-home-mocks .ct-pos-kw--then {
	background: var(--sf-green);
	color: #ffffff;
}

.ct-marketing-root--countertop .ct-sf-hero-animation-stage.ct-sf-home-mocks .ct-pos-input,
.ct-marketing-root--countertop .ct-sf-hero-animation-stage.ct-sf-home-mocks .ct-pos-panel,
.ct-marketing-root--countertop .ct-sf-hero-animation-stage.ct-sf-home-mocks .ct-pos-node,
.ct-marketing-root--countertop .ct-sf-hero-animation-stage.ct-sf-home-mocks .ct-pos-rule-block {
	border-radius: 0;
	border: 1px solid var(--sf-border);
}

.ct-marketing-root--countertop .ct-sf-hero-animation-stage.ct-sf-home-mocks .ct-pos-chip {
	border-radius: 0;
	background: rgba(0, 61, 44, 0.08);
	border: 1px solid rgba(0, 61, 44, 0.18);
}

.ct-marketing-root--countertop .ct-sf-hero-animation-stage.ct-sf-home-mocks .ct-pos-node--trigger,
.ct-marketing-root--countertop .ct-sf-hero-animation-stage.ct-sf-home-mocks .ct-pos-node--hero-done {
	border-color: var(--sf-green);
	background: rgba(0, 61, 44, 0.06);
}

.ct-marketing-root--countertop .ct-sf-hero-animation-stage.ct-sf-home-mocks .ct-pos-node-ico {
	border-radius: 0;
	background: rgba(0, 61, 44, 0.1);
	color: var(--sf-green);
}

.ct-marketing-root--countertop .ct-sf-hero-animation-stage.ct-sf-home-mocks .ct-pos-flowline {
	background: var(--sf-green);
	opacity: 0.35;
}

.ct-marketing-root--countertop .ct-sf-hero-animation-stage.ct-sf-home-mocks .ct-pos-pop {
	border-radius: 0;
	border: 2px solid var(--sf-green);
	box-shadow: 3px 3px 0 0 var(--sf-green);
	font-weight: 600;
}

.ct-marketing-root--countertop .ct-sf-hero-animation-stage.ct-sf-home-mocks .ct-pos-pop--btn {
	background: var(--sf-green);
	color: #ffffff;
}

.ct-marketing-root--countertop .ct-sf-hero-animation-stage.ct-sf-home-mocks .ct-pos-pop--success {
	color: var(--sf-green);
}

.ct-marketing-root--countertop
	.ct-sf-hero-animation-stage.ct-sf-home-mocks
	.ct-pos-pop--success
	.ct-pos-pop-ico {
	background: rgba(0, 61, 44, 0.1);
	color: var(--sf-green);
}

.ct-marketing-root--countertop
	.ct-sf-hero-animation-stage.ct-sf-home-mocks
	.ct-pos-pop--critical
	.ct-pos-pop-ico {
	background: rgba(206, 39, 23, 0.12);
	color: #ce2717;
}

.ct-sf-hero-scenario:not(.is-active) .ct-pos-pop--float,
.ct-sf-hero-scenario:not(.is-active) .ct-pos-pop--float-delay,
.ct-sf-hero-scenario:not(.is-active) .ct-pos-caret {
	animation-play-state: paused;
}

.ct-pos-input-value--placeholder {
	color: var(--pos-ink-3);
	font-weight: 400;
}

.ct-pos-hero-reveal {
	overflow: hidden;
	max-height: 0;
	opacity: 0;
	transform: translateY(6px);
	transition:
		max-height 0.45s ease,
		opacity 0.45s ease,
		transform 0.45s ease;
}

.ct-pos-hero-reveal--visible {
	max-height: 6rem;
	opacity: 1;
	transform: translateY(0);
}

.ct-pos-cart {
	display: flex;
	flex-direction: column;
	gap: 0.45em;
	background: var(--pos-card);
	border: 1px solid var(--pos-border);
	border-radius: 0;
	padding: 0.75em 0.85em;
}

.ct-pos-cart-line {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 0.75em;
	font-size: 0.95em;
}

.ct-pos-cart-line-name {
	display: flex;
	flex-direction: column;
	gap: 0.2em;
	color: var(--pos-ink);
	font-weight: 500;
}

.ct-pos-cart-line-price {
	color: var(--pos-ink);
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.ct-pos-cart-line-tag {
	display: inline-block;
	width: fit-content;
	padding: 0.1em 0.35em;
	font-size: 0.72em;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--sf-green);
	background: rgba(0, 61, 44, 0.08);
	border: 1px solid rgba(0, 61, 44, 0.18);
}

.ct-pos-cart-divider {
	height: 1px;
	background: var(--pos-border);
	margin: 0.15em 0;
}

.ct-pos-cart-line--added,
.ct-pos-cart-line--discount {
	opacity: 0;
	transform: translateX(-8px);
}

.ct-pos-cart-line--added.ct-pos-cart-line--visible,
.ct-pos-cart-line--discount.ct-pos-cart-line--visible {
	opacity: 1;
	transform: translateX(0);
	transition:
		opacity 0.4s ease,
		transform 0.4s ease;
}

.ct-pos-cart-line--subtotal,
.ct-pos-cart-line--total {
	font-weight: 600;
}

.ct-pos-cart-line--discount .ct-pos-cart-line-name,
.ct-pos-cart-line--discount .ct-pos-cart-line-price {
	color: var(--sf-green);
}

.ct-pos-cart-line--total {
	margin-top: 0.15em;
	padding-top: 0.35em;
	border-top: 1px solid var(--pos-border);
}

.ct-pos-pop--hero-engraving-save {
	top: 18%;
	right: -0.5em;
}

.ct-pos-pop--hero-engraving-saved {
	bottom: 10%;
	left: -0.75em;
}

.ct-pos-pop--hero-rules-required,
.ct-pos-pop--hero-rules-shown {
	opacity: 0;
	transform: translateY(6px) rotate(3deg);
}

.ct-pos-pop--hero-rules-required {
	top: 44%;
	right: -0.75em;
}

.ct-pos-pop--hero-rules-shown {
	top: 12%;
	left: -0.75em;
}

.ct-pos-pop--hero-rules-required--visible,
.ct-pos-pop--hero-rules-shown--visible {
	opacity: 1;
	transform: translateY(0) rotate(3deg);
	transition: opacity 0.35s ease, transform 0.35s ease;
}

.ct-pos-pop--hero-photo-run,
.ct-pos-pop--hero-photo-saved,
.ct-pos-pop--hero-cart-product,
.ct-pos-pop--hero-cart-discount {
	opacity: 0;
	transform: translateY(6px);
}

.ct-pos-pop--hero-photo-run {
	bottom: 8%;
	right: -0.5em;
}

.ct-pos-pop--hero-photo-saved {
	top: 10%;
	left: -0.75em;
}

.ct-pos-pop--hero-cart-product {
	top: 28%;
	right: -0.75em;
}

.ct-pos-pop--hero-cart-discount {
	bottom: 12%;
	left: -0.75em;
}

.ct-pos-pop--hero-photo-run--visible,
.ct-pos-pop--hero-photo-saved--visible,
.ct-pos-pop--hero-cart-product--visible,
.ct-pos-pop--hero-cart-discount--visible {
	opacity: 1;
	transform: translateY(0);
	transition: opacity 0.35s ease, transform 0.35s ease;
}

.ct-sf-hero-scenario.is-active .ct-pos-pop--hero-engraving-save {
	animation: ct-pos-bob 4.2s ease-in-out infinite;
}

.ct-sf-hero-scenario.is-active .ct-pos-pop--hero-engraving-saved {
	animation: ct-pos-bob 4.2s ease-in-out 1.4s infinite;
}

@media (prefers-reduced-motion: reduce) {
	.ct-pos-hero-reveal,
	.ct-pos-cart-line--added,
	.ct-pos-cart-line--discount,
	.ct-pos-pop--hero-rules-required--visible,
	.ct-pos-pop--hero-rules-shown--visible,
	.ct-pos-pop--hero-photo-run--visible,
	.ct-pos-pop--hero-photo-saved--visible,
	.ct-pos-pop--hero-cart-product--visible,
	.ct-pos-pop--hero-cart-discount--visible {
		transition: none;
	}
}

.ct-sf-app-store-badge {
	display: inline-block;
	margin: 0.5rem 0 0;
}

.ct-sf-app-store-badge img {
	height: 44px;
	width: auto;
}

/* Stats band */
.ct-sf-stat-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.5rem;
	text-align: center;
}

.ct-sf-stat-num {
	font-size: clamp(2rem, 4vw, 2.75rem);
	font-weight: 700;
	line-height: 1.1;
	margin-bottom: 0.35rem;
	color: var(--sf-ink);
}

.ct-sf-stat-cap {
	font-size: 0.95rem;
	color: var(--sf-muted);
	line-height: 1.4;
}

/* Product pillar cards */
.ct-sf-pillars-section .ct-sf-section-kicker,
.ct-sf-pillars-section .ct-sf-section-lead,
.ct-sf-pillars-section .ct-sf-pillar-base {
	text-align: center;
	margin-left: auto;
	margin-right: auto;
}

.ct-sf-pillars-section {
	padding-top: clamp(3rem, 6vw, 4.5rem);
}

.ct-sf-pillar-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1rem;
	margin: 2rem 0 1.5rem;
}

.ct-sf-pillar-card {
	display: flex;
	flex-direction: column;
	background: var(--sf-white);
	border: 1px solid var(--sf-border);
	border-radius: var(--sf-radius);
	padding: 1.25rem;
	color: inherit;
	transition: border-color 0.15s ease, transform 0.15s ease;
	min-height: 100%;
}

.ct-sf-pillar-card:hover {
	transform: translateY(-2px);
	border-color: var(--sf-border-strong);
	box-shadow: 0 10px 24px rgba(0, 61, 44, 0.08);
}

.ct-sf-pillar-card p {
	flex: 1;
	color: var(--sf-muted);
	line-height: 1.55;
	font-size: 0.92rem;
	margin-bottom: 0.75rem;
}

.ct-sf-pillar-tagline {
	font-weight: 600;
	font-size: 0.95rem;
	color: var(--sf-ink);
	margin-bottom: 0.5rem;
	line-height: 1.35;
}

.ct-sf-pillar-icon {
	display: block;
	width: 72px;
	height: 72px;
	margin-bottom: 1rem;
}

.ct-sf-pillar-base {
	text-align: center;
	font-size: 0.95rem;
	color: var(--sf-muted);
	margin-top: 1rem;
}

/* Screenshots */
.ct-sf-screenshot {
	width: 100%;
	height: auto;
	display: block;
	border-radius: var(--sf-radius);
	border: 1px solid var(--sf-border);
	box-shadow: none;
}

.ct-sf-split-visual {
	min-width: 0;
}

.ct-sf-screenshot--rounded {
	border-radius: var(--sf-radius);
}

/* Use case cards */
.ct-sf-resource-card--usecase {
	padding: 1.25rem;
}

.ct-sf-usecase-icon {
	display: block;
	width: 44px;
	height: 44px;
	margin-bottom: 0.75rem;
}

/* Testimonials */
.ct-sf-testimonial-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.25rem;
	margin-top: 2rem;
}

.ct-sf-quote-panel blockquote {
	font-size: 1.05rem;
	line-height: 1.55;
	font-weight: 400;
	margin: 0.75rem 0 1rem;
	color: var(--sf-ink);
}

/* About stats */
.ct-sf-about-stats {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
	margin-top: 2rem;
}

.ct-sf-about-stats strong {
	display: block;
	font-size: 1.5rem;
	font-weight: 700;
	margin-bottom: 0.25rem;
	color: var(--sf-ink);
}

.ct-sf-about-stats span {
	font-size: 0.9rem;
	color: var(--sf-muted);
	line-height: 1.4;
}

/* Assistant on homepage */
.ct-assistant--home {
	margin-top: 2.5rem;
	max-width: 720px;
	border: 1px solid var(--sf-border);
	border-radius: var(--sf-radius);
	background: var(--sf-white);
}

.ct-marketing-root--countertop .ct-assistant-send {
	border-radius: var(--sf-radius-btn);
}

/* Assistant on feature page */
.ct-sf-assistant-feature {
	padding-top: 2.5rem;
	padding-bottom: 3rem;
}

.ct-assistant--feature {
	max-width: 760px;
	border: 1px solid var(--sf-border);
	border-radius: var(--sf-radius);
	background: var(--sf-white);
	margin: 0 auto;
}

.ct-assistant--feature .ct-assistant-thread {
	max-height: 420px;
}

/* Legacy feature mocks inside countertop shell */
.ct-sf-home-mocks {
	--page-bg: var(--sf-white);
	--surface-1: var(--sf-stone);
	--surface-2: var(--sf-white);
	--card: var(--sf-white);
	--text: var(--sf-ink);
	--text-muted: var(--sf-muted);
	--text-faint: #8a8a8a;
	--border: var(--sf-border);
	--border-soft: var(--sf-border);
	--feat: var(--sf-green);
	--feat-strong: var(--sf-green-strong);
}

.ct-marketing-root--countertop .ct-sf-home-mocks .ct-feature h2,
.ct-marketing-root--countertop .ct-sf-home-mocks .ct-actions-header h2 {
	font-family: var(--font-body);
	font-weight: 700;
	letter-spacing: -0.035em;
}

.ct-marketing-root--countertop .ct-sf-home-mocks .ct-feature {
	padding: 4rem 0;
}

.ct-marketing-root--countertop .ct-sf-home-mocks .ct-feature-purple,
.ct-marketing-root--countertop .ct-sf-home-mocks .ct-feature-blue,
.ct-marketing-root--countertop .ct-sf-home-mocks .ct-feature-orange,
.ct-marketing-root--countertop .ct-sf-home-mocks .ct-feature-green {
	background: var(--sf-white);
}

.ct-marketing-root--countertop .ct-sf-home-mocks .ct-feature:nth-of-type(even) {
	background-color: var(--sf-stone);
	background-image: radial-gradient(circle, rgba(0, 61, 44, 0.11) 1px, transparent 1.2px);
	background-size: 18px 18px;
}

.ct-marketing-root--countertop .ct-sf-home-mocks .ct-feature-label {
	color: var(--sf-green);
	padding-left: 0.65rem;
	border-left: 2px solid var(--sf-green);
	letter-spacing: 0.1em;
}

.ct-marketing-root--countertop .ct-sf-home-mocks .ct-feature .ct-feature-cta {
	background: var(--sf-primary);
	color: #ffffff;
	border-radius: var(--sf-radius-btn);
	padding: 0.65rem 1.25rem;
	font-weight: 600;
}

.ct-marketing-root--countertop .ct-sf-home-mocks .ct-feature .ct-feature-cta:hover {
	background: var(--sf-primary-hover);
}

/* Blocky POS widgets — match countertop register aesthetic */
.ct-marketing-root--countertop .ct-sf-home-mocks .ct-pos-stage {
	max-width: 440px;
	padding: 0 0 2.5rem 0.5rem;
}

.ct-marketing-root--countertop .ct-sf-home-mocks .ct-pos-stage::before {
	display: none;
}

.ct-marketing-root--countertop .ct-sf-home-mocks .ct-device--ipad {
	padding: 0;
	border-radius: 0;
	background: var(--sf-white);
	border: 2px solid var(--sf-green);
	box-shadow: 6px 6px 0 0 var(--sf-green);
}

.ct-marketing-root--countertop .ct-sf-home-mocks .ct-device--ipad::before {
	display: none;
}

.ct-marketing-root--countertop .ct-sf-home-mocks .ct-device--ipad .ct-device-screen {
	border-radius: 0;
	background: var(--sf-stone);
}

.ct-marketing-root--countertop .ct-sf-home-mocks .ct-pos {
	--pos-bg: var(--sf-stone);
	--pos-card: #ffffff;
	--pos-input: #ffffff;
	--pos-border: var(--sf-border);
	--pos-ink: var(--sf-ink);
	--pos-ink-2: var(--sf-muted);
	--pos-ink-3: var(--sf-subtle);
	--pos-action: var(--sf-green);
	--pos-success: var(--sf-green);
	--pos-success-surface: var(--sf-green-soft);
	--pos-success-border: var(--sf-green);
	--pos-orange: var(--sf-green);

	font-family: var(--font-body);
	border-radius: 0;
	box-shadow: none;
}

.ct-marketing-root--countertop .ct-sf-home-mocks .ct-pos-bar {
	border-bottom: 2px solid var(--sf-border);
	font-weight: 700;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	font-size: 0.72em;
}

.ct-marketing-root--countertop .ct-sf-home-mocks .ct-pos-bar-dot {
	border-radius: 0;
	width: 0.55em;
	height: 0.55em;
	background: var(--sf-green);
}

.ct-marketing-root--countertop .ct-sf-home-mocks .ct-pos-input,
.ct-marketing-root--countertop .ct-sf-home-mocks .ct-pos-panel,
.ct-marketing-root--countertop .ct-sf-home-mocks .ct-pos-node,
.ct-marketing-root--countertop .ct-sf-home-mocks .ct-pos-rule-block {
	border-radius: 0;
	border-width: 1px;
	border-color: var(--sf-border);
}

.ct-marketing-root--countertop .ct-sf-home-mocks .ct-pos-input {
	border-width: 2px;
}

.ct-marketing-root--countertop .ct-sf-home-mocks .ct-pos-rule-block {
	border-left-width: 3px;
	border-left-color: var(--sf-green);
}

.ct-marketing-root--countertop .ct-sf-home-mocks .ct-pos-rule-block--when,
.ct-marketing-root--countertop .ct-sf-home-mocks .ct-pos-rule-block--then {
	border-left-color: var(--sf-green);
}

.ct-marketing-root--countertop .ct-sf-home-mocks .ct-pos-kw,
.ct-marketing-root--countertop .ct-sf-home-mocks .ct-pos-kw--then {
	border-radius: 0;
	background: var(--sf-green);
	color: #ffffff;
}

.ct-marketing-root--countertop .ct-sf-home-mocks .ct-pos-chip {
	border-radius: 0;
	background: var(--sf-green-soft);
	border: 1px solid var(--sf-border);
	color: var(--sf-ink);
}

.ct-marketing-root--countertop .ct-sf-home-mocks .ct-pos-seg-opt {
	border-radius: 0;
	background: var(--sf-white);
	border: 1px solid var(--sf-border);
	color: var(--sf-muted);
}

.ct-marketing-root--countertop .ct-sf-home-mocks .ct-pos-seg-opt--active {
	background: var(--sf-green);
	border-color: var(--sf-green);
	color: #ffffff;
}

.ct-marketing-root--countertop .ct-sf-home-mocks .ct-pos-caret {
	background: var(--sf-green);
}

.ct-marketing-root--countertop .ct-sf-home-mocks .ct-pos-check {
	border-radius: 0;
}

.ct-marketing-root--countertop .ct-sf-home-mocks .ct-pos-node--trigger {
	border-style: solid;
	border-color: var(--sf-green);
	border-radius: 0;
	background: var(--sf-white);
	color: var(--sf-green);
}

.ct-marketing-root--countertop .ct-sf-home-mocks .ct-pos-node-ico {
	border-radius: 0;
	background: var(--sf-green-soft);
	color: var(--sf-green);
}

.ct-marketing-root--countertop .ct-sf-home-mocks .ct-pos-flowline {
	width: 2px;
	background: var(--sf-green);
	border-radius: 0;
}

.ct-marketing-root--countertop .ct-sf-home-mocks .ct-pos-switch {
	border-radius: 0;
	background: var(--sf-green);
}

.ct-marketing-root--countertop .ct-sf-home-mocks .ct-pos-switch::after {
	border-radius: 0;
}

.ct-marketing-root--countertop .ct-sf-home-mocks .ct-pos-pop {
	border-radius: 0;
	border: 2px solid var(--sf-green);
	box-shadow: 4px 4px 0 0 var(--sf-green);
	font-family: var(--font-body);
	font-weight: 600;
	background: var(--sf-white);
	color: var(--sf-ink);
}

.ct-marketing-root--countertop .ct-sf-home-mocks .ct-pos-pop-ico {
	border-radius: 0;
	background: var(--sf-green-soft);
	color: var(--sf-green);
}

.ct-marketing-root--countertop .ct-sf-home-mocks .ct-pos-pop--btn {
	border-radius: 0;
	background: var(--sf-green);
	color: #ffffff;
	box-shadow: 4px 4px 0 0 var(--sf-green-strong);
}

.ct-marketing-root--countertop .ct-sf-home-mocks .ct-pos-pop--success {
	color: var(--sf-green);
}

.ct-marketing-root--countertop .ct-sf-home-mocks .ct-pos-pop--success .ct-pos-pop-ico {
	background: var(--sf-green-soft);
	color: var(--sf-green);
}

.ct-marketing-root--countertop .ct-sf-home-mocks .ct-pos-pop--critical {
	color: #9b2c1a;
}

.ct-marketing-root--countertop .ct-sf-home-mocks .ct-pos-pop--critical .ct-pos-pop-ico {
	border-radius: 0;
	background: #f7e8e5;
	color: #9b2c1a;
}

.ct-marketing-root--countertop .ct-sf-home-mocks .ct-pos-tap {
	border-radius: 0;
	background: var(--sf-green-soft);
}

.ct-marketing-root--countertop .ct-sf-home-mocks .ct-pos-tap::after {
	border-radius: 0;
	border-color: var(--sf-green);
}

.ct-marketing-root--countertop .ct-sf-home-mocks .ct-actions {
	background: var(--sf-stone);
	padding: 4rem 0;
	border-top: 1px solid var(--sf-border);
	border-bottom: 1px solid var(--sf-border);
}

.ct-marketing-root--countertop .ct-sf-home-mocks .ct-actions-group {
	border-radius: 0;
	border: 1px solid var(--sf-border);
	background: var(--sf-white);
}

.ct-marketing-root--countertop .ct-sf-home-mocks .ct-actions-group h3 {
	color: var(--sf-green);
}

.ct-marketing-root--countertop .ct-sf-home-mocks .ct-dot-fade {
	display: none;
}

/* Home feature slider */
.ct-sf-feature-slider-section {
	padding-top: 4rem;
	padding-bottom: 4rem;
}

.ct-sf-feature-slider-section .ct-sf-section-kicker,
.ct-sf-feature-slider-section .ct-sf-section-title,
.ct-sf-feature-slider-section .ct-sf-feature-slider-lead {
	text-align: center;
	margin-left: auto;
	margin-right: auto;
}

.ct-sf-feature-slider-lead {
	max-width: 42rem;
}

.ct-sf-feature-slider-tabs {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.55rem;
	margin: 2rem 0 0.75rem;
}

.ct-sf-feature-slider-tab {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	padding: 0.6rem 1rem;
	border: 2px solid var(--sf-border);
	background: var(--sf-white);
	color: var(--sf-ink);
	font-family: var(--font-body);
	font-size: 0.92rem;
	font-weight: 600;
	line-height: 1.2;
	border-radius: var(--sf-radius-btn);
	cursor: pointer;
	transition:
		border-color 0.2s ease,
		background 0.2s ease,
		box-shadow 0.2s ease,
		transform 0.2s ease;
}

.ct-sf-feature-slider-tab:hover {
	border-color: var(--sf-green);
}

.ct-sf-feature-slider-tab.is-active {
	border-color: var(--sf-green);
	background: var(--sf-green-soft);
}

.ct-sf-feature-slider-tab:focus-visible {
	outline: 2px solid var(--sf-green);
	outline-offset: 2px;
}

.ct-sf-feature-slider-tab-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.25rem;
	height: 2.25rem;
	flex-shrink: 0;
}

.ct-sf-feature-slider-tab-icon .ct-pixel-illustration {
	display: block;
}

.ct-sf-feature-slider-progress {
	height: 3px;
	max-width: 14rem;
	margin: 0 auto 1.75rem;
	background: rgba(0, 61, 44, 0.12);
	overflow: hidden;
}

.ct-sf-feature-slider-progress-bar {
	display: block;
	height: 100%;
	width: 0;
	background: var(--sf-green);
	animation: ct-sf-feature-slider-progress var(--slide-duration, 7000ms) linear forwards;
}

.ct-sf-feature-slider-progress-bar.is-paused {
	animation-play-state: paused;
}

@keyframes ct-sf-feature-slider-progress {
	from {
		width: 0;
	}
	to {
		width: 100%;
	}
}

.ct-sf-feature-slider-viewport {
	overflow: hidden;
	border: 1px solid var(--sf-border);
	background: var(--sf-white);
}

.ct-sf-feature-slider-track {
	display: flex;
	transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (prefers-reduced-motion: reduce) {
	.ct-sf-feature-slider-track {
		transition: none;
	}
}

.ct-sf-feature-slider-slide {
	flex: 0 0 100%;
	min-width: 0;
}

.ct-sf-feature-slider-slide:not(.is-active) .ct-pos-pop--float,
.ct-sf-feature-slider-slide:not(.is-active) .ct-pos-pop--float-delay,
.ct-sf-feature-slider-slide:not(.is-active) .ct-pos-tap,
.ct-sf-feature-slider-slide:not(.is-active) .ct-pos-caret {
	animation-play-state: paused;
}

.ct-sf-feature-slider-panel {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
	gap: 2.5rem;
	align-items: center;
	padding: 2.25rem 2rem;
}

.ct-sf-feature-slider-copy {
	min-width: 0;
}

.ct-sf-feature-slider-label {
	display: inline-flex;
	align-items: center;
	gap: 0.65rem;
	margin: 0 0 0.85rem;
	padding-left: 0.65rem;
	border-left: 2px solid var(--sf-green);
	color: var(--sf-green);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.ct-sf-feature-slider-label-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
}

.ct-sf-feature-slider-headline {
	margin: 0 0 0.85rem;
	font-family: var(--font-body);
	font-size: clamp(1.45rem, 2.4vw, 1.9rem);
	font-weight: 700;
	letter-spacing: -0.035em;
	line-height: 1.15;
	color: var(--sf-ink);
}

.ct-sf-feature-slider-body {
	margin: 0 0 1rem;
	color: var(--sf-muted);
	font-size: 1rem;
	line-height: 1.55;
}

.ct-sf-feature-slider-list {
	margin: 0 0 1.25rem;
	padding: 0;
	list-style: none;
}

.ct-sf-feature-slider-list li {
	position: relative;
	margin: 0 0 0.55rem;
	padding-left: 1.15rem;
	color: var(--sf-ink);
	font-size: 0.95rem;
	line-height: 1.45;
}

.ct-sf-feature-slider-list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.55em;
	width: 0.45rem;
	height: 0.45rem;
	background: var(--sf-green);
}

.ct-sf-feature-slider-list a {
	color: var(--sf-green);
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

.ct-sf-feature-slider-list code {
	font-size: 0.88em;
}

.ct-sf-feature-slider-metric {
	display: flex;
	align-items: center;
	gap: 0.85rem;
	margin: 0 0 1.25rem;
	padding: 0.85rem 1rem;
	border: 1px solid var(--sf-border);
	background: var(--sf-stone);
}

.ct-sf-feature-slider-metric-num {
	font-size: 1.65rem;
	font-weight: 700;
	letter-spacing: -0.03em;
	color: var(--sf-green);
	line-height: 1;
}

.ct-sf-feature-slider-metric-label {
	color: var(--sf-muted);
	font-size: 0.88rem;
	line-height: 1.35;
}

.ct-sf-feature-slider-cta {
	margin-top: 0.25rem;
}

.ct-sf-feature-slider-visual {
	display: flex;
	justify-content: center;
	align-items: center;
	min-width: 0;
}

.ct-sf-feature-slider-visual .ct-sf-home-mocks {
	width: 100%;
}

.ct-sf-feature-slider-visual .ct-pos-stage {
	margin-inline: auto;
}

@media (max-width: 960px) {
	.ct-sf-feature-slider-panel {
		grid-template-columns: 1fr;
		gap: 2rem;
		padding: 1.75rem 1.25rem;
	}

	.ct-sf-feature-slider-visual {
		order: -1;
	}
}

@media (max-width: 600px) {
	.ct-sf-feature-slider-tabs {
		justify-content: flex-start;
		overflow-x: auto;
		flex-wrap: nowrap;
		padding-bottom: 0.35rem;
		scrollbar-width: thin;
	}

	.ct-sf-feature-slider-tab {
		flex-shrink: 0;
	}
}

@media (max-width: 960px) {
	.ct-sf-stat-grid,
	.ct-sf-pillar-grid,
	.ct-sf-testimonial-grid,
	.ct-sf-about-stats {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 600px) {
	.ct-sf-stat-grid,
	.ct-sf-pillar-grid,
	.ct-sf-testimonial-grid,
	.ct-sf-about-stats {
		grid-template-columns: 1fr;
	}
}

/* Legacy landing classes (unused on countertop pages) */
.ct-landing-hero {
	padding: 3.5em 0 2.5em;
	background: var(--page-bg);
}

.ct-landing-headline {
	font-size: clamp(2.2rem, 5vw, 3.4rem);
	max-width: 16ch;
	margin: 0.35em 0 0.5em;
}

.ct-landing-subtitle {
	font-size: 1.12rem;
	line-height: 1.6;
	color: var(--text-muted);
	max-width: 42rem;
	margin-bottom: 1.75em;
}

.ct-landing-highlights,
.ct-landing-changelog,
.ct-landing-usecases,
.ct-landing-hub,
.ct-landing-related {
	padding: 3.5em 0;
}

.ct-landing-quote {
	padding: 2em 0 3.5em;
	background: var(--page-bg);
}

.ct-landing-section-header {
	margin-bottom: 2em;
	max-width: 40rem;
}

.ct-landing-section-header h2 {
	font-size: clamp(1.75rem, 3vw, 2.25rem);
	margin: 0.25em 0 0.4em;
}

.ct-landing-section-header p {
	color: var(--text-muted);
	line-height: 1.6;
}

.ct-landing-highlight-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 1.25rem;
}

.ct-landing-highlight-card {
	background: var(--card);
	border: 1px solid var(--border);
	border-radius: var(--radius-card);
	padding: 1.5rem;
	box-shadow: var(--shadow-card);
}

.ct-landing-highlight-card h2,
.ct-landing-highlight-card h3 {
	font-size: 1.2rem;
	margin-bottom: 0.5em;
	font-family: var(--font-body);
	font-weight: 700;
}

.ct-landing-highlight-card p {
	color: var(--text-muted);
	line-height: 1.55;
	font-size: 0.95rem;
}

.ct-landing-highlight-card--link {
	display: block;
	transition: border-color 0.15s ease, transform 0.15s ease;
}

.ct-landing-highlight-card--link:hover {
	border-color: var(--accent);
	transform: translateY(-2px);
}

.ct-eyebrow--inline {
	margin-bottom: 0.75rem;
}

.ct-landing-quote-card {
	background: var(--card);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	padding: 2rem 2.25rem;
	max-width: 48rem;
	box-shadow: var(--shadow-card);
}

.ct-landing-quote-card blockquote {
	font-family: var(--font-display);
	font-size: 1.35rem;
	line-height: 1.45;
	margin: 0.75em 0 1.25em;
}

.ct-landing-quote-card footer {
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
}

.ct-landing-quote-context {
	color: var(--text-muted);
	font-size: 0.9rem;
}

.ct-landing-changelog {
	background: var(--card-alt);
}

.ct-landing-changelog-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 1.25rem;
}

.ct-landing-changelog-card {
	background: var(--card);
	border: 1px solid var(--border);
	border-radius: var(--radius-card);
	padding: 1.35rem 1.5rem;
}

.ct-landing-changelog-card time {
	display: block;
	font-size: 0.82rem;
	font-weight: 600;
	color: var(--accent);
	text-transform: uppercase;
	letter-spacing: 0.04em;
	margin-bottom: 0.5rem;
}

.ct-landing-changelog-card h3 {
	font-family: var(--font-body);
	font-size: 1.05rem;
	font-weight: 700;
	margin-bottom: 0.45em;
	line-height: 1.35;
}

.ct-landing-changelog-card p {
	color: var(--text-muted);
	font-size: 0.92rem;
	line-height: 1.55;
}

.ct-landing-link-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 1rem;
}

.ct-landing-link-card {
	display: block;
	position: relative;
	background: var(--card);
	border: 1px solid var(--border);
	border-radius: var(--radius-card);
	padding: 1.35rem 2.5rem 1.35rem 1.35rem;
	transition: border-color 0.15s ease;
}

.ct-landing-link-card:hover {
	border-color: var(--accent);
}

.ct-landing-link-card h3 {
	font-family: var(--font-body);
	font-size: 1rem;
	font-weight: 700;
	margin-bottom: 0.35em;
}

.ct-landing-link-card p {
	color: var(--text-muted);
	font-size: 0.9rem;
	line-height: 1.5;
}

.ct-landing-link-arrow {
	position: absolute;
	right: 1rem;
	top: 50%;
	transform: translateY(-50%);
	color: var(--accent);
}

.ct-landing-hub-group {
	margin-bottom: 2.5rem;
	padding-bottom: 2.5rem;
	border-bottom: 1px solid var(--border);
}

.ct-landing-hub-group:last-child {
	border-bottom: none;
	margin-bottom: 0;
	padding-bottom: 0;
}

.ct-landing-hub-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem;
}

.ct-landing-hub-link {
	display: inline-flex;
	align-items: center;
	padding: 0.55rem 1rem;
	background: var(--card);
	border: 1px solid var(--border);
	border-radius: var(--radius-pill);
	font-size: 0.9rem;
	font-weight: 500;
	transition: border-color 0.15s ease, background 0.15s ease;
}

.ct-landing-hub-link:hover {
	border-color: var(--accent);
	background: var(--accent-soft);
}

.ct-landing-hub-link--featured {
	border-radius: var(--radius-card);
	padding: 1rem 1.25rem;
	font-weight: 600;
}

.ct-landing-related {
	padding-top: 0;
}

.ct-landing-related-label {
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--text-muted);
	margin-bottom: 0.75rem;
}

.ct-landing-related-links {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
}

.ct-landing-related-links a {
	color: var(--accent);
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

.ct-landing-cta {
	margin-top: 0;
}

.ct-logo-footer-inner {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 2rem 0 3rem;
	color: var(--text-muted);
	font-size: 0.9rem;
}

.ct-logo-footer-inner a {
	color: var(--accent);
}

@media (max-width: 768px) {
	.ct-subnav-inner {
		flex-direction: column;
		align-items: flex-start;
		gap: 0;
		padding-bottom: 0.5rem;
	}

	.ct-subnav-links {
		width: 100%;
		overflow-x: auto;
		flex-wrap: nowrap;
		padding-bottom: 0.35rem;
		-webkit-overflow-scrolling: touch;
	}
}

/* =============================================
   Responsive
   ============================================= */
@media (max-width: 900px) {
	.ct-feature-inner {
		grid-template-columns: 1fr;
		gap: 2.5em;
	}
	.ct-feature-inner .ct-feature-visual {
		order: -1;
	}
	.ct-feature,
	.ct-testimonials,
	.ct-usecases,
	.ct-layer,
	.ct-pillars {
		padding: 3.5em 0;
	}
}

@media (max-width: 600px) {
	.ct-section {
		padding: 0 1rem;
	}
	.ct-hero {
		padding: 2.5em 0 0;
	}
	.ct-assistant-form {
		flex-direction: column;
	}
	.ct-assistant-send {
		padding: 0.8em;
	}
}
