.swesite-swefood-home,
.swesite-system-product-page {
	--swefood-navy: #0b1933;
	--swefood-blue: #2473ea;
	--swefood-teal: #13b7ad;
	--swefood-warm: #ff8b5d;
	color: var(--swefood-navy);
}

.swesite-swefood-home {
	background:
		radial-gradient(circle at 8% 16%, rgba(36, 115, 234, .16), transparent 30rem),
		radial-gradient(circle at 88% 78%, rgba(19, 183, 173, .18), transparent 30rem),
		linear-gradient(145deg, #f4f8ff, #ecfeff);
	overflow: clip;
	padding: clamp(56px, 8vw, 108px) 0;
	position: relative;
}

.swesite-swefood-shell {
	margin-inline: auto;
	width: min(calc(100% - 40px), 1240px);
}

.swesite-swefood-grid {
	align-items: center;
	column-gap: clamp(36px, 6vw, 78px);
	display: grid;
	grid-template-areas:
		"copy stage"
		"actions stage";
	grid-template-columns: minmax(0, 1.05fr) minmax(380px, .95fr);
	grid-template-rows: auto auto;
	row-gap: 0;
}

.swesite-swefood-copy {
	align-self: end;
	grid-area: copy;
}

.swesite-swefood-eyebrow,
.swesite-system-demo > div:first-child > span,
.swesite-system-calculator header span {
	color: var(--swefood-blue);
	font-size: 12px;
	font-weight: 900;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.swesite-swefood-copy h2 {
	font-size: clamp(38px, 5vw, 68px);
	font-weight: 950;
	letter-spacing: -.045em;
	line-height: 1;
	margin: 13px 0 22px;
	max-width: 720px;
}

.swesite-swefood-copy > p {
	color: #475569;
	font-size: clamp(16px, 1.6vw, 19px);
	line-height: 1.7;
	margin: 0;
}

.swesite-swefood-copy .swesite-swefood-disclaimer {
	background: rgba(255, 255, 255, .68);
	border-left: 3px solid var(--swefood-teal);
	border-radius: 0 13px 13px 0;
	font-size: 12px;
	line-height: 1.55;
	margin-top: 18px;
	padding: 11px 13px;
}

.swesite-swefood-benefits {
	display: grid;
	gap: 10px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	list-style: none;
	margin: 28px 0 0;
	padding: 0;
}

.swesite-swefood-benefits li {
	align-items: flex-start;
	background: rgba(255, 255, 255, .72);
	border: 1px solid rgba(148, 163, 184, .23);
	border-radius: 16px;
	display: flex;
	font-size: 14px;
	font-weight: 750;
	gap: 9px;
	line-height: 1.4;
	padding: 13px;
}

.swesite-swefood-benefits li::before {
	align-items: center;
	background: linear-gradient(135deg, var(--swefood-blue), var(--swefood-teal));
	border-radius: 50%;
	color: #fff;
	content: "✓";
	display: inline-flex;
	flex: 0 0 22px;
	font-size: 12px;
	height: 22px;
	justify-content: center;
}

.swesite-swefood-actions {
	align-self: start;
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	grid-area: actions;
	margin-top: 28px;
}

.swesite-swefood-actions a,
.swesite-system-demo-link {
	align-items: center;
	border: 1px solid transparent;
	border-radius: 999px;
	display: inline-flex;
	font-size: 14px;
	font-weight: 850;
	justify-content: center;
	min-height: 48px;
	padding: 0 22px;
	text-decoration: none;
	transition: transform .2s ease, box-shadow .2s ease;
}

.swesite-swefood-actions a:first-child,
.swesite-system-demo-link {
	background: linear-gradient(135deg, var(--swefood-blue), var(--swefood-teal));
	box-shadow: 0 14px 30px rgba(36, 115, 234, .22);
	color: #fff;
}

.swesite-swefood-actions a:last-child {
	background: #fff;
	border-color: rgba(36, 115, 234, .3);
	color: var(--swefood-navy);
}

.swesite-swefood-actions a:hover,
.swesite-swefood-actions a:focus-visible,
.swesite-system-demo-link:hover,
.swesite-system-demo-link:focus-visible {
	box-shadow: 0 18px 36px rgba(36, 115, 234, .25);
	transform: translateY(-2px);
}

.swesite-swefood-actions a:focus-visible,
.swesite-system-demo-link:focus-visible {
	outline: 3px solid rgba(36, 115, 234, .32);
	outline-offset: 3px;
}

.swesite-swefood-stage {
	grid-area: stage;
	isolation: isolate;
	min-height: 560px;
	perspective: 1100px;
	position: relative;
}

.swesite-swefood-visual {
	align-items: flex-start;
	display: flex;
	inset: 0 0 auto;
	justify-content: center;
	margin: 0;
	min-width: 0;
	position: absolute;
	width: 100%;
	z-index: 1;
}

.swesite-swefood-visual img {
	display: block;
	filter: drop-shadow(0 28px 38px rgba(11, 25, 51, .18));
	height: auto;
	max-width: 100%;
	object-fit: contain;
	width: 100%;
}

.swesite-system-hero-visual {
	min-height: 510px;
	perspective: 1100px;
	position: relative;
}

.swesite-swefood-phone,
.swesite-system-phone {
	background: linear-gradient(180deg, #101d38, #081226);
	border: 7px solid #17213a;
	border-radius: 36px;
	box-shadow: 0 38px 80px rgba(11, 25, 51, .28);
	color: #fff;
	left: 50%;
	padding: 54px 24px 24px;
	position: absolute;
	top: 47%;
	transform: translate(-50%, -50%) rotateY(-9deg) rotateX(4deg);
	width: min(68%, 300px);
}

.swesite-swefood-phone::before,
.swesite-system-phone::before {
	background: #020817;
	border-radius: 0 0 12px 12px;
	content: "";
	height: 22px;
	left: 50%;
	position: absolute;
	top: 0;
	transform: translateX(-50%);
	width: 42%;
}

.swesite-swefood-phone span,
.swesite-system-phone span {
	color: #7dd3fc;
	display: block;
	font-size: 12px;
	font-weight: 900;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.swesite-swefood-phone strong,
.swesite-system-phone strong {
	display: block;
	font-size: 24px;
	margin: 10px 0 20px;
}

.swesite-swefood-phone small,
.swesite-system-phone small {
	background: rgba(19, 183, 173, .2);
	border: 1px solid rgba(45, 212, 191, .35);
	border-radius: 12px;
	display: block;
	padding: 13px;
}

.swesite-swefood-float,
.swesite-system-float {
	backdrop-filter: blur(12px);
	background: rgba(255, 255, 255, .92);
	border: 1px solid rgba(255, 255, 255, .76);
	border-radius: 20px;
	box-shadow: 0 24px 50px rgba(15, 23, 42, .16);
	display: grid;
	gap: 3px;
	padding: 16px;
	position: absolute;
	width: 180px;
	z-index: 2;
}

.swesite-swefood-float span,
.swesite-system-float span { font-size: 22px; }
.swesite-swefood-float strong,
.swesite-system-float strong { font-size: 14px; }
.swesite-swefood-float small,
.swesite-system-float small { color: #64748b; }
.swesite-swefood-float.is-kitchen,
.swesite-system-float.is-kitchen { left: 0; top: 16%; transform: rotate(-4deg); }
.swesite-swefood-float.is-delivery,
.swesite-system-float.is-delivery { right: 0; top: 20%; transform: rotate(4deg); }
.swesite-swefood-float.is-loyalty { bottom: 9%; left: 2%; transform: rotate(3deg); }

.swesite-swefood-saving {
	background: linear-gradient(135deg, rgba(11, 25, 51, .97), rgba(20, 49, 84, .97));
	border: 1px solid rgba(125, 211, 252, .22);
	border-radius: 24px;
	bottom: 0;
	box-shadow: 0 26px 60px rgba(11, 25, 51, .24);
	color: #fff;
	padding: 20px;
	position: absolute;
	right: 2%;
	width: min(76%, 360px);
	z-index: 3;
}

.swesite-swefood-saving > span {
	color: #67e8f9;
	font-size: 11px;
	font-weight: 900;
	letter-spacing: .1em;
	text-transform: uppercase;
}

.swesite-swefood-saving dl {
	display: grid;
	gap: 5px;
	grid-template-columns: 1fr auto;
	margin: 12px 0;
}

.swesite-swefood-saving dt,
.swesite-swefood-saving dd {
	font-size: 12px;
	margin: 0;
}

.swesite-swefood-saving dd { font-weight: 800; }
.swesite-swefood-saving p { border-top: 1px solid rgba(255,255,255,.16); margin: 12px 0 7px; padding-top: 13px; }
.swesite-swefood-saving p span { display: block; font-size: 12px; }
.swesite-swefood-saving p strong { color: #5eead4; display: block; font-size: 30px; line-height: 1; margin-top: 4px; }
.swesite-swefood-saving > small { color: #bfdbfe; display: block; font-size: 10px; line-height: 1.4; }

.swesite-system-hero-visual { min-height: 390px; }
.swesite-system-phone { width: min(70%, 270px); }

.swesite-system-product-page [hidden] {
	display: none !important;
}

.swesite-system-product-page .swesite-package-builder-hero__inner > div > p:last-child {
	max-width: 720px;
}

.swesite-system-product-page .swesite-package-builder-step > header p {
	white-space: pre-line;
}

.swesite-system-benefits {
	display: grid;
	gap: 14px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.swesite-system-benefits article,
.swesite-system-demo,
.swesite-system-calculator {
	background: #f8fbff;
	border: 1px solid #dce7f4;
	border-radius: 20px;
	padding: 20px;
}

.swesite-system-benefits strong { font-size: 16px; }
.swesite-system-benefits p { color: #64748b; font-size: 14px; line-height: 1.55; margin: 7px 0 0; }

.swesite-system-demo,
.swesite-system-calculator {
	margin-top: 20px;
}

.swesite-system-demo h3,
.swesite-system-calculator h3,
.swesite-system-modules h3,
.swesite-system-domain h3 {
	font-size: 23px;
	line-height: 1.2;
	margin: 7px 0 9px;
}

.swesite-system-demo p { color: #64748b; line-height: 1.55; margin: 0; }
.swesite-system-demo-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0; }
.swesite-system-demo-tabs span { background: #fff; border: 1px solid #dbe4f0; border-radius: 999px; font-size: 12px; font-weight: 800; padding: 8px 11px; }

.swesite-system-calculator-fields,
.swesite-system-fields {
	display: grid;
	gap: 14px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.swesite-system-calculator-fields label,
.swesite-system-fields label,
.swesite-system-domain > label {
	color: #334155;
	display: grid;
	font-size: 13px;
	font-weight: 800;
	gap: 7px;
}

.swesite-system-calculator-fields label span {
	align-items: center;
	display: grid;
	gap: 7px;
	grid-template-columns: 1fr auto;
}

.swesite-system-calculator input,
.swesite-system-fields input,
.swesite-system-fields select,
.swesite-system-fields textarea,
.swesite-system-domain > label input {
	background: #fff;
	border: 1px solid #cbd5e1;
	border-radius: 12px;
	font: inherit;
	min-height: 46px;
	padding: 10px 12px;
	width: 100%;
}

.swesite-system-fields { margin-top: 22px; }
.swesite-system-fields .is-wide { grid-column: 1 / -1; }
.swesite-system-calculator-result { background: #fff; border-radius: 16px; display: grid; gap: 8px; margin: 15px 0; padding: 16px; }
.swesite-system-calculator-result p { display: flex; flex-wrap: wrap; gap: 8px; justify-content: space-between; margin: 0; }
.swesite-system-calculator-result .is-saving { align-items: end; border-top: 1px solid #dbe4f0; margin-top: 6px; padding-top: 12px; }
.swesite-system-calculator-result .is-saving strong { color: #0f9f92; font-size: 24px; }
.swesite-system-calculator-result .is-saving small { background: #ccfbf1; border-radius: 999px; color: #0f766e; font-weight: 900; padding: 6px 10px; }
.swesite-system-calculator > small { color: #64748b; display: block; line-height: 1.55; }

.swesite-system-solution-grid .swesite-package-choice > span { min-height: 230px; }
.swesite-system-solution-grid small { font-size: 14px; line-height: 1.65; }

.swesite-system-domain-options,
.swesite-system-module-grid {
	display: grid;
	gap: 12px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.swesite-system-domain-options label,
.swesite-system-module {
	cursor: pointer;
	display: block;
	position: relative;
}

.swesite-system-domain-options input,
.swesite-system-module > input {
	height: 1px;
	opacity: 0;
	position: absolute;
	width: 1px;
}

.swesite-system-domain-options label > span,
.swesite-system-module > span {
	background: #fff;
	border: 1px solid #dbe4f0;
	border-radius: 17px;
	display: flex;
	flex-direction: column;
	height: 100%;
	padding: 17px;
}

.swesite-system-domain-options input:checked + span,
.swesite-system-module > input:checked + span,
.swesite-system-module > input:disabled + input + span {
	background: #eff6ff;
	border-color: #3b82f6;
	box-shadow: 0 0 0 3px rgba(59, 130, 246, .12);
}

.swesite-system-domain-options small,
.swesite-system-module small { color: #64748b; line-height: 1.5; margin-top: 6px; }
.swesite-system-module b { color: #d95c5c; margin-top: auto; padding-top: 13px; }
.swesite-system-module em { color: #0f766e; font-size: 10px; font-style: normal; font-weight: 900; min-height: 15px; text-transform: uppercase; }
.swesite-system-domain > label { margin-top: 14px; }
.swesite-system-check { align-items: center; display: flex !important; grid-template-columns: auto 1fr; margin-top: 18px; }
.swesite-system-check input { height: 20px; min-height: 0; width: 20px; }
.swesite-system-modules { border-top: 1px solid #e2e8f0; margin-top: 28px; padding-top: 24px; }

.swesite-system-final-summary {
	display: grid;
	gap: 10px;
}

.swesite-system-final-summary div {
	align-items: start;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 13px;
	display: grid;
	gap: 12px;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
	padding: 13px;
}

.swesite-system-final-summary span { color: #64748b; }
.swesite-system-final-summary strong { text-align: right; }
.swesite-system-pause-note { background: #eff6ff; border-radius: 14px; color: #334155; line-height: 1.55; margin: 18px 0 0; padding: 15px; }

@media (max-width: 980px) {
	.swesite-swefood-grid {
		grid-template-areas:
			"copy"
			"actions"
			"stage";
		grid-template-columns: 1fr;
	}
	.swesite-swefood-stage { margin: 36px auto 0; max-width: 620px; width: 100%; }
	.swesite-system-domain-options,
	.swesite-system-module-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
	.swesite-swefood-shell { width: min(calc(100% - 28px), 1240px); }
	.swesite-swefood-benefits,
	.swesite-system-benefits,
	.swesite-system-calculator-fields,
	.swesite-system-fields,
	.swesite-system-domain-options,
	.swesite-system-module-grid { grid-template-columns: 1fr; }
	.swesite-swefood-copy h2 { font-size: clamp(34px, 11vw, 48px); }
	.swesite-swefood-actions { display: grid; }
	.swesite-swefood-actions a { width: 100%; }
	.swesite-swefood-grid {
		column-gap: 0;
		grid-template-areas:
			"visual"
			"copy"
			"saving"
			"actions";
		row-gap: 24px;
	}
	.swesite-swefood-stage { display: contents; }
	.swesite-swefood-visual {
		grid-area: visual;
		inset: auto;
		position: relative;
		width: 100%;
	}
	.swesite-swefood-saving {
		grid-area: saving;
		position: static;
		width: 100%;
	}
	.swesite-swefood-copy { grid-area: copy; }
	.swesite-swefood-actions {
		grid-area: actions;
		margin-top: 0;
	}
	.swesite-system-hero-visual { min-height: 340px; }
	.swesite-system-float { width: 142px; }
	.swesite-system-float.is-kitchen { left: -4px; }
	.swesite-system-float.is-delivery { right: -4px; }
	.swesite-system-fields .is-wide { grid-column: auto; }
	.swesite-system-final-summary div { grid-template-columns: 1fr; }
	.swesite-system-final-summary strong { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
	.swesite-swefood-actions a,
	.swesite-system-demo-link { transition: none; }
}
