/* Provitalia 3.0 additions that are not part of the design export. */

/* Priser och avgifter: one line of text straight after the hero on pages outside the
   fixed order (those show the price in the offer card only). 4px spacing grid. */
.p3-prices {
	margin: 12px 8px;
	padding: 24px 28px;
	border-radius: var(--pvt-hero-inner-radius, 12px);
	background: #ffffff12;
	box-shadow: 0 12px 28px -18px #140e0b88, inset 0 1px 0 #ffffff25;
	color: inherit;
}

.p3-prices h2 {
	margin: 0 0 8px;
	font-size: 22px;
	line-height: 1.2;
	letter-spacing: -.03em;
}

.p3-prices > p {
	margin: 0;
	max-width: 64ch;
	font-size: 16px;
	line-height: 1.5;
}

/* Hero: start micro text and the offer card (three rows, the price at the bottom). */
.p3-hero__micro {
	margin: 16px 0 0;
	font-size: var(--secondary);
	line-height: 1.4;
	font-weight: var(--heading-weight);
	color: var(--hero-text);
	text-shadow: 0 1px 12px rgba(20, 14, 11, .45);
}

.p3-offer {
	position: relative;
	max-width: 460px;
	margin-top: 56px;
	padding: 8px 22px 18px;
	border-radius: var(--outer-radius);
	background: rgba(255, 255, 255, .95); /* B133: .9 left the grey 14 px rows under 4.5:1 on the darker scenes */
	color: var(--ink);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .7), 0 26px 40px -24px rgba(20, 14, 40, .55);
	-webkit-backdrop-filter: blur(18px) saturate(120%);
	backdrop-filter: blur(18px) saturate(120%);
}

.p3-offer__rows {
	margin: 0;
	padding: 12px 0 0;
	list-style: none;
}

.p3-offer__rows li {
	display: grid;
	grid-template-columns: 28px 1fr;
	column-gap: 16px;
	align-items: center;
	padding: 14px 0;
	border-bottom: 1px solid var(--line);
}

.p3-offer__rows li:last-child {
	border-bottom: 0;
}

.p3-offer__ico {
	width: 28px;
	height: 28px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.6;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.p3-offer__rows b {
	display: block;
	font-size: 18px;
	font-weight: 600;
	letter-spacing: -.02em;
	line-height: 1.2;
}

.p3-offer__rows span {
	display: block;
	font-size: var(--secondary);
	line-height: 1.4;
	color: var(--muted);
}

/* Price tab (Ali 2026-10-26, variant C): a dark flap sticking up from the top right corner of the process card.
   The card is pushed down so the tab keeps clear air to the start text above it (offer margin-top minus the tab's rise),
   and the rows start below the tab so it never covers the first row. */
.p3-offer__tab {
	position: absolute;
	top: -20px;
	right: 16px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 4px;
	margin: 0;
	padding: 8px 16px 12px;
	border-radius: 14px 14px 14px 4px;
	background: var(--ink);
	color: #fff;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 16px 26px -12px rgba(20, 14, 40, .6), 0 4px 10px -4px rgba(20, 14, 40, .35);
	transition: transform .35s var(--spring);
}

.p3-offer__tab span {
	font-size: 12px;
	line-height: 1;
	opacity: .85;
}

.p3-offer__tab strong {
	font-size: 24px;
	line-height: 1;
	font-weight: 600;
	letter-spacing: -.03em;
	color: var(--accent-warm);
}

.p3-offer:hover .p3-offer__tab {
	transform: translateY(-4px);
}

@media (prefers-reduced-motion: reduce) {
	.p3-offer__tab {
		transition: none;
	}

	.p3-offer:hover .p3-offer__tab {
		transform: none;
	}
}

/* Vi fixar allt: four numbered steps on one line (a vertical timeline on phones). */
.p3-process__steps {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
	margin: 40px 0 0;
	padding: 0;
	list-style: none;
}

.p3-process__step {
	position: relative;
	min-width: 0;
}

.p3-process__step:not(:last-child)::after {
	content: "";
	position: absolute;
	top: 47px;
	left: 112px;
	right: -12px;
	height: 2px;
	background: var(--edge);
	opacity: .7;
}

.p3-process__node {
	position: relative;
	display: block;
	width: 96px;
	height: 96px;
	color: var(--ink);
}

.p3-process__node svg {
	display: block;
	width: 96px;
	height: 96px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2.5;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.p3-process__node .f {
	fill: var(--accent-warm);
	stroke: none;
}

.p3-process__node .k {
	fill: var(--ink);
	stroke: none;
}

.p3-process__node .w {
	fill: var(--light);
}

.p3-process__node .b {
	fill: currentColor;
}

.p3-process__no {
	position: absolute;
	top: 0;
	right: 0;
	display: grid;
	place-items: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: var(--ink);
	color: var(--on-accent);
	font-size: 14px;
	line-height: 1;
	font-weight: 600;
}

.p3-process__step h3 {
	margin: 20px 0 0;
	font-size: 26px;
	line-height: 1.15;
	letter-spacing: var(--h3-tracking);
}

.p3-process__step p {
	margin: 10px 0 0;
	max-width: 30ch;
	font-size: 18px;
	line-height: 1.5;
	color: var(--lede-color);
}

@media (max-width: 1100px) {
	.p3-process__steps {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.p3-process__step {
		display: grid;
		grid-template-columns: 80px minmax(0, 1fr);
		column-gap: 20px;
		align-content: start;
	}

	.p3-process__node,
	.p3-process__node svg {
		width: 80px;
		height: 80px;
	}

	.p3-process__node {
		grid-row: 1 / 3;
	}

	.p3-process__no {
		width: 26px;
		height: 26px;
		font-size: 13px;
	}

	.p3-process__step h3 {
		margin: 6px 0 0;
		font-size: 24px;
	}

	.p3-process__step p {
		margin-top: 6px;
		max-width: none;
	}

	.p3-process__step:not(:last-child)::after {
		top: 88px;
		bottom: -24px;
		left: 39px;
		right: auto;
		width: 2px;
		height: auto;
	}
}

/* Treatment pages in the fixed order (tools/anatomy.py). Every section reuses a
   reference page's component (system.css + klimakteriet-v1.css); these rules only
   fill what those components assume from their own page. */
.p3-anatomy {
	--bone: var(--paper);
}

/* Breadcrumb: vikt's small grey row (pvt-breadcrumb), above the hero scene. */
.p3-crumbs {
	padding: 16px 32px;
	font-size: 13px;
	color: var(--muted);
}

.p3-crumbs a {
	color: inherit;
	text-decoration: none;
	border-radius: 4px;
}

.p3-crumbs a:hover {
	text-decoration: underline;
	text-underline-offset: 4px;
}

.p3-crumbs a:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

.p3-crumbs a:active {
	opacity: .7;
}

.p3-crumbs__sep {
	margin: 0 8px;
}

/* Om <ämne>: klimakteriet's reading cards, three across when there is no illustration. */
.p3-anatomy .education__grid--text {
	grid-template-columns: 1fr;
}

.p3-anatomy .education__grid--text .education__reading {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.p3-anatomy .education__more {
	margin-top: 32px;
	font-size: 15px;
}

.p3-anatomy .education__more a:hover {
	text-underline-offset: 6px;
}

.p3-anatomy .education__more a:active,
.p3-checklist .pvt-check-items label:active {
	opacity: .7;
}

.p3-checklist .pvt-check-items label:hover span {
	text-decoration: underline;
	text-underline-offset: 4px;
}

/* Behandling: klimakteriet's options surface with three reading cards. */
.p3-anatomy .options .step {
	--lede-color: var(--ink);
}

.p3-anatomy .options .step p {
	font-size: var(--body);
	line-height: 1.7;
}

.p3-treatment .actions {
	margin-top: 32px;
}

/* Inför bedömningen: vikt's list (pvt-prepare-list) and checklist dialog. */
.p3-prepare-list {
	grid-column: 2;
	grid-row: 1 / 3;
	margin: 0;
	padding: 0;
	list-style: none;
	align-self: center;
}

.p3-prepare-list li {
	padding: 24px 0;
	border-bottom: 1px solid var(--line);
	font-size: 22px;
	line-height: 1.3;
}

.p3-prepare-list li:first-child {
	border-top: 1px solid var(--line);
}

.p3-anatomy .preparation > .button {
	justify-self: start;
	align-self: end;
}

.p3-checklist {
	position: fixed;
	max-width: 540px;
	width: calc(100% - 24px);
	padding: 56px 32px 32px;
	border: 0;
	border-radius: var(--outer-radius);
	background: var(--page);
	color: var(--ink);
	box-shadow: var(--reading-shadow);
}

.p3-checklist::backdrop {
	background: rgba(20, 14, 11, .55);
}

.p3-checklist > p {
	margin: 20px 0;
}

.p3-checklist .pvt-check-items label {
	display: flex;
	gap: 16px;
	align-items: start;
	padding: 18px 0;
	border-bottom: 1px solid var(--line);
	cursor: pointer;
}

.p3-checklist .pvt-check-items input {
	width: 22px;
	height: 22px;
	flex-shrink: 0;
	accent-color: var(--ink);
}

.p3-checklist .pvt-check-status {
	font-size: 14px;
}

.p3-checklist__close {
	position: absolute;
	top: 16px;
	right: 16px;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--paper);
	font-size: 28px;
	line-height: 1;
	transition: transform .3s cubic-bezier(.34, 1.56, .64, 1);
}

.p3-checklist__close:hover {
	transform: scale(1.06);
}

.p3-checklist__close:focus-visible {
	outline: 2px solid var(--ink);
	outline-offset: 2px;
}

.p3-checklist__close:active {
	transform: scale(.96);
}

/* Vanliga frågor: tighter rows and a tighter section. */
.p3-anatomy .faq {
	padding-block: 32px;
}

.p3-anatomy .faq details {
	padding: 0;
}

.p3-anatomy .faq summary {
	min-height: 68px;
	font-size: 17px;
	font-weight: 500;
	line-height: 1.35;
}

.p3-anatomy .faq details p {
	margin: 0 0 20px;
}

.p3-anatomy .faq__list > p:last-of-type {
	margin: 20px 0 0;
}

.p3-anatomy .faq__list > p:last-of-type a {
	display: inline-block;
}

@media (max-width: 760px) {
	.p3-anatomy .faq {
		padding-block: 24px;
	}

	.p3-anatomy .faq summary {
		min-height: 64px;
		font-size: 16px;
	}
}

/* Avslutning: the brand pill keeps the pill's own look inside the closing copy. */
.closing__copy > p.brand-pill {
	max-width: none;
	margin: 0 0 24px;
	color: #30302e;
	font-size: 19px;
}

@media (max-width: 760px) {
	.closing__copy > p.brand-pill {
		margin-bottom: 20px;
		font-size: 18px;
	}
}

/* Relaterat: hud's area cards, four across. */
@media (min-width: 1001px) {
	.p3-related .areas__grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

@media (min-width: 1001px) {
	.p3-related--3 .areas__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 800px) {
	.p3-anatomy .education__grid--text .education__reading {
		grid-template-columns: 1fr;
	}

	.p3-prepare-list {
		grid-column: 1;
		grid-row: auto;
	}

	.p3-prepare-list li {
		padding: 20px 0;
		font-size: 20px;
	}
}

@media (max-width: 650px) {
	.p3-crumbs {
		padding: 14px 24px;
		font-size: 12px;
	}

	.p3-checklist {
		padding: 52px 24px 28px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.p3-checklist__close {
		transition: none;
	}
}

/* Hero H1 on phones: never hyphenate mid-word ("Erektionsbe-svär"). The size follows
   the viewport so the longest word of a title still fits; break-word is only a safety
   net against sideways scroll. */
@media (max-width: 650px) {
	.site .hero h1,
	.site .pv-knowledge__title {
		hyphens: none;
		-webkit-hyphens: none;
		overflow-wrap: break-word;
		font-size: clamp(30px, 10.4vw, var(--display-mobile, 55px));
	}
}

/* "Vi fixar allt." lede: reads as the section's promise, not a caption. */
.p3-anatomy .p3-process .section-head p {
	max-width: 46ch;
	margin-top: 12px;
	font-size: var(--lede, 20px);
	line-height: var(--lede-lh, 1.5);
	color: var(--lede-color);
}

/* Så verkar läkemedlet: the plate with four numbered explanations whose badges match the numbers in the image. */
.p3-mech {
	--p3-mech-badge: #8a5a3c;
}

.p3-mech__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
	gap: 40px;
	align-items: center;
}

.p3-mech .p3-mech__figure {
	position: static; /* education figures are sticky by default */
	margin: 0;
	border-radius: var(--outer-radius);
	overflow: hidden;
	background: #fbf3ea;
	box-shadow: 0 26px 40px -28px rgba(48, 48, 46, .45), inset 0 0 0 1px rgba(48, 48, 46, .08);
}

.p3-mech .p3-mech__figure img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: auto; /* education figure images are square, blended and masked by default */
	object-fit: fill;
	mix-blend-mode: normal;
	-webkit-mask-image: none;
	mask-image: none;
}

.p3-mech__steps {
	display: grid;
	gap: 20px;
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: mech;
}

.p3-mech__steps li {
	position: relative;
	min-height: 40px;
	padding-left: 56px;
	font-size: 18px;
	line-height: 1.6;
	counter-increment: mech;
}

.p3-mech__steps li::before {
	content: counter(mech);
	position: absolute;
	top: -2px;
	left: 0;
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--p3-mech-badge);
	color: #fff;
	font-size: 18px;
	font-weight: 600;
	line-height: 1;
}

@media (max-width: 900px) {
	.p3-mech__grid {
		grid-template-columns: 1fr;
		gap: 28px;
	}
}

@media (max-width: 650px) {
	.p3-mech__steps li {
		font-size: 17px;
	}

	.p3-mech .p3-mech__figure {
		max-width: none; /* education figures are capped at 260px on phones */
		margin-inline: 0;
	}
}

/* Avslutning: three tick rows under the heading. */
.p3-checks {
	display: grid;
	gap: 12px;
	max-width: 52ch;
	margin: 0 0 28px;
	padding: 0;
	list-style: none;
}

.p3-checks li {
	display: grid;
	grid-template-columns: 28px 1fr;
	gap: 12px;
	align-items: start;
	font-size: var(--lede, 20px);
	line-height: 1.4;
}

.p3-checks__tick {
	width: 28px;
	height: 28px;
	padding: 5px;
	border-radius: 50%;
	background: var(--accent-warm);
	fill: none;
	stroke: #30302e;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

@media (max-width: 760px) {
	.p3-checks li {
		font-size: var(--lede-mobile, 17px);
	}
}

/* Vanliga frågor: the start button under the heading. */
.p3-anatomy .faq__head .actions {
	margin-top: 24px;
}

/* Flytande knapp: phones only, appears after the hero button has scrolled away (assets/anatomy-float.js). */
.p3-float {
	display: none;
}

@media (max-width: 760px) {
	.p3-float {
		position: fixed;
		right: 16px;
		bottom: calc(12px + env(safe-area-inset-bottom, 0px));
		left: 16px;
		z-index: 40;
		display: block;
		opacity: 0;
		visibility: hidden;
		pointer-events: none;
		transform: translateY(16px);
		transition: opacity .25s ease, transform .35s cubic-bezier(.34, 1.56, .64, 1), visibility 0s linear .35s;
	}

	.p3-float.is-visible {
		opacity: 1;
		visibility: visible;
		pointer-events: auto;
		transform: none;
		transition: opacity .25s ease, transform .35s cubic-bezier(.34, 1.56, .64, 1), visibility 0s;
	}

	.p3-float__button {
		width: 100%;
		box-shadow: 0 16px 28px -12px rgba(22, 13, 6, .55), 0 2px 6px rgba(22, 13, 6, .2);
		transition: transform .3s cubic-bezier(.34, 1.56, .64, 1);
	}

	.p3-float__button:hover {
		transform: translateY(-2px);
	}

	.p3-float__button:focus-visible {
		outline: 3px solid var(--ink);
		outline-offset: 3px;
	}

	.p3-float__button:active {
		transform: scale(.98);
	}
}

@media (prefers-reduced-motion: reduce) {
	.p3-float,
	.p3-float.is-visible,
	.p3-float__button {
		transition: none;
	}

	.p3-float {
		transform: none;
	}
}

/* COOKIE-ICON start
   Cookiebot's round cookie icon (#CookiebotWidget, 48 px, 10 px from the left and bottom edge, shown once a cookie choice
   is made) lay on top of the floating button and hid the start of "Starta bedömningen" (Kajal, iPhone, 2026-11-19).
   Only on the widths where the floating button exists: the button starts beside the icon (10 + 48 + 10 px), and on pages
   that have the button the icon sits 5 px higher, level with the button's middle, and follows the phone's bottom inset
   as the button does. Before a cookie choice there is no icon and the button keeps its full width. The icon's open panel
   grows from the same place (no exception for the open state: one made the icon jump 5 px when the panel opened and
   closed, review 2026-11-19). Wider screens and pages without the button are not touched. */
@media (max-width: 760px) {
	/* Not where the icon is switched off (css/cookiebot.css section 4: the footer link stands there): no room is kept for it. */
	body:has(#CookiebotWidget):not(:has(.p3-cookie-settings)) .p3-float {
		left: calc(10px + 48px + 10px);
	}

	body:has(.p3-float) #CookiebotWidget {
		bottom: calc(15px + env(safe-area-inset-bottom, 0px));
	}
}
/* COOKIE-ICON end */

/* Kommer snart (tools/open_state.py): a closed treatment's start buttons and choices are quiet non-links on its own page.
   The tag that marks a closed treatment in menus, cards and tiles is styled in css/chrome.css, which every page loads. */
.site .p3-soon,
.pvt-site .p3-soon {
	opacity: .6;
	cursor: default;
	pointer-events: none;
}

.site .button.p3-soon,
.pvt-site .button.p3-soon {
	justify-content: center;
	opacity: .75;
}

/* Sheet mode (tools/anatomy.py, routes.json "sheets": true; the ED page). The fixed order as three large rounded
   sheets on the white canvas, 36 px apart. Each sheet is one solid dark surface (the page's theme colour) with an
   inner column of 1100 px; cards sit 8 px apart, all with the same radius (24 px, 16 px on phones), and change
   material from row to row, as on hims.com: dark glass, gradient, pale, tinted, wide. Everything here is scoped to
   .p3-sheets, so pages without the flag are not touched. */
.p3-sheets {
	--p3-r: 24px;
	--p3-gap: 8px;
	--p3-pad: 40px;
	--p3-col: 1100px;
	--p3-sheet: var(--theme-dark);
	--p3-spring: cubic-bezier(.34, 1.56, .64, 1);
	--p3-glass: rgba(255, 255, 255, .07);
	--p3-grad: linear-gradient(180deg, #5a6f96 0%, #3a4c70 55%, #2a3856 100%);
	--p3-tint: rgba(78, 95, 125, .8);
	--p3-pale: linear-gradient(127deg, #f2f5f9 2%, #e3e9f0 100%);
	--p3-pale-b: linear-gradient(127deg, #e9eef4 2%, #d3dbe6 100%);
	--p3-ink: #1f2736;
	--p3-ink-soft: #474e5e;
}

/* The sheets: the scene (hero, start card, steps) and the two that follow. */
.p3-sheets .layer--scene,
.p3-sheets .p3-sheet {
	display: grid;
	grid-template-columns: minmax(0, 1fr) repeat(2, minmax(0, calc((var(--p3-col) - var(--p3-gap)) / 2))) minmax(0, 1fr);
	gap: var(--p3-gap);
	align-content: start;
	margin-bottom: 36px;
	padding: 0 0 16px;
	border-radius: var(--p3-r);
	background: var(--p3-sheet);
	box-shadow: none;
	color: #fff;
}

.p3-sheets .p3-sheet {
	padding-top: 24px;
}

.p3-sheets .layer--scene > .hero {
	grid-column: 1 / -1;
	margin-bottom: 8px;
}

.p3-sheets .p3-sheet > .p3-moments,
.p3-sheets .p3-sheet > .p3-phone,
.p3-sheets .p3-sheet > .p3-ways,
.p3-sheets .p3-sheet > .p3-mech,
.p3-sheets .p3-sheet > .p3-prepare,
.p3-sheets .p3-sheet > .p3-faq,
.p3-sheets .p3-sheet > .p3-closing {
	grid-column: 2 / 4;
}

.p3-sheets .layer--scene > .p3-areas,
.p3-sheets .p3-sheet > .p3-about {
	grid-column: 2;
}

.p3-sheets .layer--scene > .p3-process,
.p3-sheets .p3-sheet > .p3-treatment {
	grid-column: 3;
}

/* Cards: one radius, one inner padding; the material is the modifier. */
.p3-sheets .p3-k {
	position: relative;
	box-sizing: border-box;
	min-width: 0;
	margin: 0;
	padding: var(--p3-pad);
	border-radius: var(--p3-r);
	overflow: hidden;
	color: #fff;
}

.p3-sheets .p3-k h2 {
	margin: 0 0 24px;
	/* Size and line-height are repeated in in-r5-kort.css (the "Läs mer" button beside the "Vad är …?" title is centred
	   on the title's first line); change both together. */
	font-size: clamp(30px, 3.2vw, 44px);
	line-height: 1.04;
	letter-spacing: -.045em;
	font-weight: var(--heading-weight);
	text-wrap: balance;
}

/* The right-hand box ("Hur fungerar behandling mot …?") is narrow on a computer: at 44 px the heading took three lines on
   28 pages and "pigmentförändringar?" stuck out of the box. Capped at 34 px it is two lines; below 1063 px nothing changes. */
.p3-sheets .p3-k--b > h2 {
	font-size: clamp(30px, 3.2vw, 34px);
}

.p3-sheets .p3-k h3 {
	margin: 0;
	font-size: 22px;
	line-height: 1.2;
	letter-spacing: -.03em;
	font-weight: var(--heading-weight);
}

.p3-sheets .p3-k p {
	margin: 0;
	line-height: 1.6;
}

/* Material 1, dark glass (Hims: rgba(255,255,255,.07), blur 37 px). */
.p3-sheets .p3-k--glass {
	background: var(--p3-glass);
	-webkit-backdrop-filter: blur(37px);
	backdrop-filter: blur(37px);
	box-shadow: inset 0 0 0 .5px rgba(255, 255, 255, .22), inset 0 1px 0 rgba(255, 255, 255, .18);
}

/* Material 2, gradient (Hims: 180deg gradient, 24 px radius). */
.p3-sheets .p3-k--grad {
	background: var(--p3-grad);
}

/* Material 3, pale (Hims: light 127deg gradient), white cards inside. */
.p3-sheets .p3-k--pale {
	background: var(--p3-pale);
	color: var(--p3-ink);
}

.p3-sheets .p3-k--pale.p3-k--b {
	background: var(--p3-pale-b);
}

.p3-sheets .p3-k--pale h2,
.p3-sheets .p3-k--pale h3 {
	color: var(--p3-ink);
}

.p3-sheets .p3-k--pale p {
	color: var(--p3-ink-soft);
}

/* Material 4, tinted (Hims: colour with alpha .8, blur 20 px). */
.p3-sheets .p3-k--tint {
	background: var(--p3-tint);
	-webkit-backdrop-filter: blur(20px);
	backdrop-filter: blur(20px);
	box-shadow: inset 0 0 0 .5px rgba(255, 255, 255, .22);
}

/* Material 5, wide: one light card over the whole column. */
.p3-sheets .p3-k--wide {
	background: #fefefe;
	color: var(--p3-ink);
}

.p3-sheets .p3-k--wide h2 {
	color: var(--p3-ink);
}

/* Buttons on the dark materials are white, on the light ones they keep the page's dark button. */
.p3-sheets .p3-k--glass .button,
.p3-sheets .p3-k--grad .button,
.p3-sheets .p3-k--tint .button {
	background: #fff;
	color: var(--p3-ink);
	box-shadow: 0 14px 28px -14px rgba(0, 0, 0, .45);
}

.p3-sheets .p3-k--glass .button__icon,
.p3-sheets .p3-k--grad .button__icon,
.p3-sheets .p3-k--tint .button__icon {
	background: rgba(31, 39, 54, .1);
}

.p3-sheets .button {
	transition: transform .3s var(--p3-spring);
}

.p3-sheets .button:hover {
	transform: translateY(-2px);
}

.p3-sheets .button:focus-visible {
	outline: 3px solid currentColor;
	outline-offset: 3px;
}

.p3-sheets .button:active {
	transform: scale(.98);
}

/* Cards in cards: white cards inside the pale ones. */
.p3-sheets .p3-minis {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--p3-gap);
	margin-top: 24px;
}

.p3-sheets .p3-minis--col {
	grid-template-columns: minmax(0, 1fr);
	margin-top: 0;
}

.p3-sheets .p3-mini {
	padding: 20px 24px;
	border-radius: 20px;
	background: #fff;
	box-shadow: 0 22px 34px -26px rgba(31, 39, 54, .5);
}

.p3-sheets .p3-mini h3 {
	margin-bottom: 6px;
	font-size: 19px;
}

.p3-sheets .p3-mini p {
	font-size: 15px;
	line-height: 1.5;
}

.p3-sheets .p3-k__lede {
	font-size: 17px;
}

.p3-sheets .p3-k .actions {
	margin-top: 24px;
}

/* Om and Behandling (a03): two pale cards of equal height, the dark button at the foot of each. */
.p3-sheets .p3-about,
.p3-sheets .p3-treatment {
	display: flex;
	flex-direction: column;
	min-height: 480px;
}

.p3-sheets .p3-k__foot {
	margin-top: auto;
	padding-top: 28px;
}

.p3-sheets .p3-k--pale .button {
	min-height: 54px;
	padding: 0 28px;
	font-size: 15px;
	font-weight: var(--heading-weight);
	background: var(--p3-ink);
	color: #fff;
}

/* Sheet 1, start card (a02): the heading and the three choices centred in one gradient card, no empty band between them. */
.p3-sheets .p3-areas {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 48px;
	min-height: 600px;
	text-align: center;
}

.p3-sheets .p3-areas h2 {
	max-width: 12em;
	margin: 0;
	text-align: center;
	font-size: clamp(32px, 3.4vw, 48px);
	letter-spacing: -.05em;
}

.p3-sheets .p3-areas__choices {
	display: grid;
	gap: var(--p3-gap);
	justify-items: center;
	width: 100%;
	margin: 0;
	padding: 0;
	list-style: none;
}

.p3-sheets .p3-pill {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 56px;
	padding: 8px 28px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .12);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3);
	color: #fff;
	font-size: 18px;
	line-height: 1.3;
	text-decoration: none;
	transition: transform .3s var(--p3-spring), background-color .25s ease;
}

.p3-sheets .p3-pill:hover {
	background: rgba(255, 255, 255, .22);
	transform: translateY(-2px);
}

.p3-sheets .p3-pill:focus-visible {
	outline: 3px solid #fff;
	outline-offset: 3px;
}

.p3-sheets .p3-pill:active {
	transform: scale(.97);
}

/* Sheet 1, Vi fixar allt: glass card, the four steps as glass cards inside it (vertical). */
.p3-sheets .p3-process {
	min-height: 600px;
	--ink: #fff;
	--light: #fff;
	--lede-color: rgba(255, 255, 255, .84);
}

.p3-sheets .p3-process .section-head {
	display: block;
	margin: 0 0 24px;
}

.p3-sheets .p3-process .section-head h2 {
	margin: 0;
}

.p3-sheets .p3-process .section-head p {
	max-width: none;
	margin-top: 12px;
	font-size: 17px;
	line-height: 1.5;
	color: var(--lede-color);
}

.p3-sheets .p3-process__steps {
	grid-template-columns: minmax(0, 1fr);
	gap: var(--p3-gap);
	margin: 0;
}

.p3-sheets .p3-process__step {
	display: grid;
	grid-template-columns: 56px minmax(0, 1fr);
	column-gap: 16px;
	align-items: center;
	padding: 12px 20px 12px 12px;
	border-radius: var(--p3-r);
	background: rgba(255, 255, 255, .08);
	box-shadow: inset 0 0 0 .5px rgba(255, 255, 255, .22);
}

.p3-sheets .p3-process__step:not(:last-child)::after {
	display: none;
}

.p3-sheets .p3-process__node {
	grid-row: 1 / 3;
	width: 56px;
	height: 56px;
	color: #1f2736;
}

.p3-sheets .p3-process__node svg {
	width: 56px;
	height: 56px;
	stroke-width: 3;
}

.p3-sheets .p3-process__node .k {
	fill: #1f2736;
}

.p3-sheets .p3-process__no {
	top: -4px;
	right: -4px;
	width: 22px;
	height: 22px;
	background: #fff;
	color: #1f2736;
	font-size: 12px;
}

.p3-sheets .p3-process__step h3 {
	margin: 0;
	font-size: 18px;
}

.p3-sheets .p3-process__step p {
	margin: 2px 0 0;
	max-width: none;
	font-size: 14px;
	line-height: 1.45;
	color: rgba(255, 255, 255, .82);
}

.p3-sheets .p3-process > .actions {
	margin-top: 24px;
}

/* Sheet 2, situations (a01 shape): a row of three glass cards, a lifestyle picture in each. Swipes on phones. */
.p3-sheets .p3-moments,
.p3-sheets .p3-ways__row {
	display: flex;
	gap: var(--p3-gap);
	min-width: 0;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}

.p3-sheets .p3-moments::-webkit-scrollbar,
.p3-sheets .p3-ways__row::-webkit-scrollbar {
	display: none;
}

.p3-sheets .p3-glass {
	display: flex;
	flex: 1 0 min(356px, 82%);
	flex-direction: column;
	box-sizing: border-box;
	min-height: 516px;
	padding: 32px 24px 0;
	overflow: hidden;
	border-radius: var(--p3-r);
	background: var(--p3-glass);
	-webkit-backdrop-filter: blur(37px);
	backdrop-filter: blur(37px);
	box-shadow: inset 0 0 0 .5px rgba(255, 255, 255, .22), inset 0 1px 0 rgba(255, 255, 255, .18);
	color: #fff;
	scroll-snap-align: start;
}

.p3-sheets .p3-glass h3 {
	margin: 0 0 6px;
	font-size: 30px;
	line-height: 1.1;
	letter-spacing: -.04em;
	font-weight: var(--heading-weight);
}

.p3-sheets .p3-glass p {
	margin: 0;
	font-size: 16px;
	line-height: 1.45;
	color: rgba(255, 255, 255, .78);
}

.p3-sheets .p3-glass img {
	display: block;
	width: 100%;
	height: 300px;
	margin-top: auto;
	object-fit: contain;
	object-position: center bottom;
	filter: drop-shadow(0 22px 20px rgba(0, 0, 0, .28));
	transform-origin: center bottom;
	transition: transform .4s var(--p3-spring);
}

.p3-sheets .p3-glass img.p3-glass__crop {
	object-fit: cover;
	object-position: 50% 0;
	transform: scale(1.4);
	transform-origin: 50% 0;
}

.p3-sheets .p3-glass:hover img.p3-glass__crop {
	transform: scale(1.45);
}

.p3-sheets .p3-glass:hover img {
	transform: scale(1.04);
}

/* Sheet 2, wide card (a04): "Svara i mobilen", a phone with one question, "Få besked" and the start button. */
.p3-sheets .p3-phone {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 300px minmax(0, 1fr);
	gap: 24px;
	min-height: 554px;
	padding: 0 50px;
}

.p3-sheets .p3-phone__l,
.p3-sheets .p3-phone__r {
	align-self: start;
	padding-top: 128px;
	text-align: left;
}

.p3-sheets .p3-phone h2 {
	margin: 0 0 14px;
}

.p3-sheets .p3-phone .p3-phone__l p,
.p3-sheets .p3-phone .p3-phone__r p {
	max-width: 16em;
	margin: 0;
	line-height: 1.5;
	color: rgba(255, 255, 255, .8);
}

.p3-sheets .p3-phone__r .button {
	margin-top: 32px;
}

.p3-sheets .p3-phone__device {
	position: relative;
	box-sizing: border-box;
	align-self: end;
	justify-self: center;
	width: 260px;
	height: 440px;
	margin-top: 64px;
	padding: 52px 20px 0;
	border: 8px solid #10151f;
	border-bottom: 0;
	border-radius: 44px 44px 0 0;
	background: linear-gradient(180deg, #6d83a8 0%, #3a4c70 60%, #2a3856 100%);
	box-shadow: 0 0 0 1.5px #3a4252, 0 30px 60px -20px rgba(0, 0, 0, .6);
}

.p3-sheets .p3-phone__device::before {
	content: "";
	position: absolute;
	top: 12px;
	left: 50%;
	width: 84px;
	height: 24px;
	margin-left: -42px;
	border-radius: 999px;
	background: #10151f;
}

.p3-sheets .p3-phone .p3-phone__q {
	margin: 0 0 24px;
	text-align: center;
	font-size: 22px;
	line-height: 1.15;
	letter-spacing: -.03em;
	font-weight: var(--heading-weight);
	color: #fff;
}

.p3-sheets .p3-phone__device ul {
	display: grid;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.p3-sheets .p3-phone__device li {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 4px 12px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .14);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3);
	font-size: 15px;
	line-height: 1.25;
	text-align: center;
	color: #fff;
}

.p3-sheets .p3-phone__device li:first-child {
	background: #fff;
	color: var(--p3-ink);
}

/* Sheet 3, two ways (a05): the heading on the sheet and three warm gradient cards that start the form. */
.p3-sheets .p3-ways h2 {
	margin: 0;
	padding: 24px 0 16px;
	font-size: clamp(28px, 3vw, 40px);
	line-height: 1.05;
	letter-spacing: -.045em;
	font-weight: var(--heading-weight);
	color: #fff;
}

.p3-sheets .p3-warm {
	display: flex;
	flex: 1 0 min(320px, 80%);
	flex-direction: column;
	box-sizing: border-box;
	min-height: 389px;
	padding: 24px 24px 28px;
	border-radius: var(--p3-r);
	background: linear-gradient(180deg, #f7cd92 0%, #d99a58 100%);
	color: #2a1c13;
	text-decoration: none;
	scroll-snap-align: start;
	transition: transform .35s var(--p3-spring);
}

.p3-sheets .p3-warm:hover {
	transform: translateY(-4px);
}

.p3-sheets .p3-warm:focus-visible {
	outline: 3px solid #fff;
	outline-offset: 3px;
}

.p3-sheets .p3-warm:active {
	transform: scale(.98);
}

.p3-sheets .p3-warm__img {
	display: grid;
	flex: 1;
	place-items: center;
	padding: 8px 0;
}

.p3-sheets .p3-warm__img svg {
	width: 132px;
	height: 132px;
	filter: drop-shadow(0 18px 12px rgba(80, 40, 0, .3));
}

.p3-sheets .p3-warm h3 {
	margin: 0 0 6px;
	font-size: 32px;
	line-height: 1.05;
	letter-spacing: -.04em;
	font-weight: var(--heading-weight);
}

.p3-sheets .p3-warm p {
	margin: 0;
	font-size: 17px;
	line-height: 1.4;
}

/* Sheet 2, plate: wide light card, the plate on its white canvas next to the four numbered explanations. */
.p3-sheets .p3-mech__grid {
	grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
}

.p3-sheets .p3-mech .p3-mech__figure {
	border-radius: 0;
	background: none;
	box-shadow: none;
}

.p3-sheets .p3-mech__steps li {
	font-size: 17px;
}

/* Sheet 3, Inför bedömningen: pale card, the list as white cards. */
.p3-sheets .p3-prepare {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
	column-gap: 40px;
	align-items: start;
}

.p3-sheets .p3-prepare .section-head {
	display: block;
	margin: 0;
}

.p3-sheets .p3-prepare .section-head h2 {
	margin: 0;
}

.p3-sheets .p3-prepare-list {
	display: grid;
	gap: var(--p3-gap);
	grid-column: 2;
	grid-row: 1 / 3;
}

.p3-sheets .p3-prepare-list li,
.p3-sheets .p3-prepare-list li:first-child {
	padding: 24px;
	border: 0;
	border-radius: var(--p3-r);
	background: #fff;
	box-shadow: 0 22px 34px -26px rgba(31, 39, 54, .5);
	font-size: 19px;
	line-height: 1.35;
	color: var(--p3-ink);
}

.p3-sheets .p3-prepare > .button {
	grid-column: 1;
	grid-row: 2;
	margin-top: 24px;
	justify-self: start;
}

/* Sheet 3, Vanliga frågor: wide tinted card, the questions as glass rows. */
.p3-sheets .p3-faq {
	display: grid;
	grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr);
	column-gap: 40px;
	align-items: start;
}

.p3-sheets .p3-faq .faq__head {
	margin: 0;
}

.p3-sheets .p3-faq .faq__head h2 {
	margin: 0;
}

.p3-sheets .p3-faq .faq__list {
	display: grid;
	gap: var(--p3-gap);
}

.p3-sheets .p3-faq details {
	padding: 0 24px;
	border: 0;
	border-radius: var(--p3-r);
	background: rgba(255, 255, 255, .1);
	box-shadow: inset 0 0 0 .5px rgba(255, 255, 255, .2);
}

.p3-sheets .p3-faq summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 68px;
	padding: 12px 0;
	font-size: 17px;
	font-weight: var(--heading-weight);
	line-height: 1.35;
	list-style: none;
	cursor: pointer;
	border-radius: var(--p3-r);
}

.p3-sheets .p3-faq summary::-webkit-details-marker {
	display: none;
}

.p3-sheets .p3-faq summary:focus-visible {
	outline: 3px solid #fff;
	outline-offset: 2px;
}

.p3-sheets .p3-faq summary:hover .plus {
	transform: scale(1.1);
}

.p3-sheets .p3-faq details[open] summary:hover .plus {
	transform: rotate(45deg) scale(1.1);
}

.p3-sheets .p3-faq summary:active .plus {
	transform: scale(.94);
}

.p3-sheets .p3-faq details[open] summary:active .plus {
	transform: rotate(45deg) scale(.94);
}

.p3-sheets .p3-faq details p {
	margin: 0 0 20px;
	color: rgba(255, 255, 255, .94);
	font-size: 15px;
}

.p3-sheets .p3-faq .faq__list > p:last-of-type {
	margin: 12px 0 0;
	font-size: 15px;
}

.p3-sheets .p3-faq .faq__list > p:last-of-type a {
	display: inline-block;
	color: #fff;
	text-underline-offset: 4px;
	border-radius: 6px;
}

.p3-sheets .p3-faq .faq__list > p:last-of-type a:hover {
	text-decoration: underline;
}

.p3-sheets .p3-faq .faq__list > p:last-of-type a:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 3px;
}

.p3-sheets .p3-faq .faq__list > p:last-of-type a:active {
	opacity: .7;
}

/* Sheet 3, avslutning: gradient card with the tick rows and the image. */
.p3-sheets .p3-closing {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
	column-gap: 24px;
	align-items: end;
	padding-bottom: 0;
}

.p3-sheets .p3-closing .closing__copy {
	padding: 0 0 var(--p3-pad);
	align-self: center;
}

.p3-sheets .p3-closing .closing__copy > p.brand-pill {
	margin: 0 0 24px;
}

.p3-sheets .p3-closing h2 {
	max-width: 16ch;
	margin-bottom: 24px;
	font-size: clamp(34px, 4vw, 56px);
}

.p3-sheets .p3-closing .p3-checks li {
	color: #fff;
}

.p3-sheets .p3-closing > img,
.p3-sheets .p3-closing > picture > img {
	display: block;
	width: 100%;
	height: 460px;
	object-fit: contain;
	object-position: center bottom;
	filter: drop-shadow(0 26px 24px rgba(0, 0, 0, .26));
}

/* Tablet and phone: one column, cards 8 px from the sheet edge, 16 px radius. */
@media (max-width: 900px) {
	.p3-sheets .layer--scene,
	.p3-sheets .p3-sheet {
		grid-template-columns: minmax(0, 1fr);
		padding-inline: var(--p3-gap);
		padding-bottom: var(--p3-gap);
	}

	.p3-sheets .p3-sheet {
		padding-top: var(--p3-gap);
	}

	.p3-sheets .layer--scene > .hero {
		margin: 0 calc(-1 * var(--p3-gap)) 24px;
	}

	.p3-sheets .layer--scene > .p3-k,
	.p3-sheets .p3-sheet > .p3-k,
	.p3-sheets .p3-sheet > .p3-moments,
	.p3-sheets .p3-sheet > .p3-ways {
		grid-column: 1;
	}

	.p3-sheets .p3-areas,
	.p3-sheets .p3-process,
	.p3-sheets .p3-about,
	.p3-sheets .p3-treatment {
		min-height: 0;
	}

	.p3-sheets .p3-areas {
		gap: 32px;
	}

	.p3-sheets .p3-phone {
		display: flex;
		flex-direction: column;
		gap: 20px;
		min-height: 0;
		padding: 40px 24px 0;
	}

	.p3-sheets .p3-phone__l,
	.p3-sheets .p3-phone__r {
		padding-top: 0;
	}

	.p3-sheets .p3-phone__l {
		order: 1;
	}

	.p3-sheets .p3-phone__r {
		order: 2;
	}

	.p3-sheets .p3-phone__device {
		order: 3;
		align-self: center;
		width: 240px;
		height: 380px;
		margin-top: 12px;
	}

	.p3-sheets .p3-prepare,
	.p3-sheets .p3-faq,
	.p3-sheets .p3-closing,
	.p3-sheets .p3-mech__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.p3-sheets .p3-prepare-list,
	.p3-sheets .p3-prepare > .button {
		grid-column: 1;
		grid-row: auto;
	}

	.p3-sheets .p3-prepare-list {
		margin-top: 24px;
	}

	.p3-sheets .p3-faq .faq__list {
		margin-top: 24px;
	}

	.p3-sheets .p3-closing > img,
	.p3-sheets .p3-closing > picture > img {
		height: 380px;
		margin-top: 24px;
	}

	.p3-sheets .p3-closing .closing__copy {
		padding-bottom: 0;
	}
}

@media (max-width: 650px) {
	.p3-sheets {
		--p3-r: 16px;
		--p3-pad: 24px;
	}

	.p3-sheets .p3-minis {
		grid-template-columns: minmax(0, 1fr);
	}

	.p3-sheets .p3-faq details {
		padding: 0 16px;
	}

	.p3-sheets .p3-prepare-list li {
		padding: 20px;
		font-size: 17px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.p3-sheets .button,
	.p3-sheets .p3-pill,
	.p3-sheets .p3-glass img,
	.p3-sheets .p3-warm,
	.p3-sheets .plus {
		transition: none;
	}
}

/* Relaterat: the sibling cards as pale cards in the same column, not tall empty tiles. */
.p3-sheets .p3-related {
	max-width: var(--p3-col);
	margin-inline: auto;
	padding-inline: var(--p3-gap);
	box-sizing: border-box;
}

.p3-sheets .p3-related .areas__grid {
	gap: var(--p3-gap);
}

.p3-sheets .p3-related .card {
	border-radius: var(--p3-r);
	background: var(--p3-pale);
	box-shadow: none;
	-webkit-backdrop-filter: none;
	backdrop-filter: none;
}

.p3-sheets .p3-related .area > a {
	min-height: 168px;
	padding: 24px;
}

@media (max-width: 650px) {
	.p3-sheets .p3-related .area {
		flex-basis: 88%;
		min-height: 0;
	}
}

/* ---------- Touch targets: at least 44 px without changing the look ----------
   An invisible ::after grows the hit area; layout and size stay as they are. */
.p3-sheets .p3-in-prod__foot a,
.p3-sheets .faq__list p > a {
	position: relative;
}

.p3-sheets .p3-in-prod__foot a::after,
.p3-sheets .faq__list p > a::after {
	content: "";
	position: absolute;
	inset: -14px -6px;
}
