/**
 * Landing di MediPrompt (mediprompt.it).
 *
 * Colori, caratteri, raggi e ombre riprendono i token del tema MediSuite
 * (assets/css/tokens.css), così le due pagine si riconoscono come parenti.
 * Il blu del marchio MediPrompt (#3978a9) segna le parti che imitano l’app.
 */

@font-face {
	font-family: "Manrope";
	font-style: normal;
	font-weight: 400 800;
	font-display: swap;
	src: url("../fonts/manrope-latin-ext.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
	font-family: "Manrope";
	font-style: normal;
	font-weight: 400 800;
	font-display: swap;
	src: url("../fonts/manrope-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "DM Sans";
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url("../fonts/dm-sans-latin-ext.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
	font-family: "DM Sans";
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url("../fonts/dm-sans-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
	--mp-navy: #0a3c6e;
	--mp-navy-hover: #0d4f8f;
	--mp-navy-deep: #082f57;
	--mp-blue: #3978a9;
	--mp-blue-text: #2f6797;
	--mp-amber: #fbad48;
	--mp-amber-hover: #ffc166;
	--mp-paper: #f8f8f8;
	--mp-white: #fff;
	--mp-tint: #edf2f8;
	--mp-line: #dce3ec;
	--mp-input-line: #c6d4e4;
	--mp-muted: #555e6d;
	--mp-body: #384d63;
	--mp-strong: #1e3956;
	--mp-on-navy: #c3d5e9;
	--mp-chip-bg: #e7f0f9;
	--mp-chip-line: #b3cbe3;
	--mp-ok: #17693a;
	--mp-ok-bg: #e0f3e6;
	--mp-warn: #9b1c2e;
	--mp-warn-bg: #fdebed;
	--mp-warn-line: #f4b9c1;

	--mp-font-heading: Manrope, system-ui, sans-serif;
	--mp-font-body: "DM Sans", system-ui, sans-serif;

	--mp-gutter: clamp(20px, 5.5vw, 72px);
	--mp-section-pad: clamp(72px, 9vw, 120px);
	--mp-header-h: 84px;
	--mp-radius-button: 7px;
	--mp-radius-small: 6px;
	--mp-radius-card: 13px;
	--mp-radius-panel: 20px;
	--mp-shadow-button: 0 7px 16px rgb(8 47 87 / 9%);
	--mp-shadow-card: 0 12px 28px rgb(10 60 110 / 7%);
	--mp-shadow-header: 0 4px 24px rgb(8 47 87 / 6%);
	--mp-ease: cubic-bezier(.2, .65, .3, 1);
}

/* Base. */

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--mp-header-h) + 16px);
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	background: var(--mp-paper);
	color: var(--mp-navy);
	font-family: var(--mp-font-body);
	font-size: 17px;
	line-height: 1.6;
	text-rendering: optimizeLegibility;
}

img {
	display: block;
	max-width: 100%;
	height: auto;
}

a {
	color: inherit;
	text-decoration: none;
}

button {
	font: inherit;
	color: inherit;
}

:where(h1, h2, h3, p, ul, dl, dd, figure) {
	margin: 0;
}

h1,
h2,
h3 {
	font-family: var(--mp-font-heading);
	font-weight: 550;
	color: var(--mp-navy);
	text-wrap: balance;
}

:focus-visible {
	outline: 3px solid var(--mp-navy-hover);
	outline-offset: 4px;
}

.mp-sprite {
	position: absolute;
	width: 0;
	height: 0;
	overflow: hidden;
}

.mp-icon {
	display: inline-block;
	flex: none;
	width: 20px;
	height: 20px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.6;
	stroke-linecap: round;
	stroke-linejoin: round;
	vertical-align: middle;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

.mp-skip {
	position: absolute;
	left: 10px;
	top: -100px;
	z-index: 100;
	padding: 10px 14px;
	border-radius: var(--mp-radius-small);
	background: var(--mp-amber);
	color: var(--mp-navy-deep);
	font-weight: 600;
}

.mp-skip:focus {
	position: fixed;
	top: 10px;
}

.mp-wrap {
	width: min(100% - 2 * var(--mp-gutter), 1280px);
	margin-inline: auto;
}

/* Pulsanti e link, come nel tema MediSuite. */

.mp-button {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: space-between;
	gap: 22px;
	padding: 14px 20px;
	overflow: hidden;
	isolation: isolate;
	border: 1px solid var(--mp-navy);
	border-radius: var(--mp-radius-button);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	white-space: nowrap;
	cursor: pointer;
	transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.mp-button .mp-icon {
	width: 18px;
	height: 18px;
	stroke-width: 1.8;
	transition: transform .23s ease;
}

.mp-button--primary {
	background: var(--mp-navy);
	color: var(--mp-white);
}

.mp-button--primary:hover {
	background: var(--mp-navy-hover);
}

.mp-button--accent {
	border-color: var(--mp-amber);
	background: var(--mp-amber);
	color: var(--mp-navy-deep);
}

.mp-button--accent:hover {
	background: var(--mp-amber-hover);
}

.mp-button--large {
	gap: 44px;
	padding: 20px 26px 20px 28px;
	border-radius: 9px;
	font-size: 18px;
}

.mp-button--large .mp-icon {
	width: 22px;
	height: 22px;
}

.mp-button:active {
	transform: scale(.97);
	box-shadow: none;
}

.mp-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding-block: 10px;
	font-size: 16px;
	font-weight: 600;
	transition: color .2s ease;
}

.mp-link .mp-icon {
	width: 18px;
	height: 18px;
	transition: transform .23s ease;
}

@media (hover: hover) and (pointer: fine) {
	.mp-button:hover {
		transform: translateY(-3px);
		box-shadow: var(--mp-shadow-button);
	}

	.mp-button:hover .mp-icon {
		transform: translate(3px, -3px);
	}

	.mp-link:hover {
		color: var(--mp-navy-hover);
	}

	.mp-link:hover .mp-icon {
		transform: translateY(3px);
	}
}

/* Testata. */

.mp-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: var(--mp-paper);
	transition: background-color .25s ease, box-shadow .25s ease;
}

.mp-header.is-scrolled {
	background: var(--mp-white);
	box-shadow: var(--mp-shadow-header);
}

.mp-header__inner {
	display: flex;
	align-items: center;
	gap: 36px;
	min-height: var(--mp-header-h);
}

.mp-header__logo img {
	width: 196px;
}

.mp-nav {
	display: flex;
	gap: 30px;
	margin-left: auto;
	font-size: 15px;
	font-weight: 550;
}

.mp-nav a {
	padding-block: 8px;
	transition: color .2s ease;
}

.mp-nav a:hover {
	color: var(--mp-navy-hover);
}

/* Apertura. */

.mp-hero {
	padding-top: clamp(32px, 5vw, 72px);
	padding-bottom: var(--mp-section-pad);
}

.mp-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
	gap: clamp(40px, 6vw, 96px);
	align-items: center;
}

.mp-hero h1 {
	font-size: clamp(42px, 5.3vw, 70px);
	line-height: 1.03;
	letter-spacing: -.045em;
}

.mp-hero__lead {
	max-width: 33em;
	margin-top: 26px;
	color: var(--mp-body);
	font-size: clamp(18px, 1.5vw, 20px);
	line-height: 1.55;
}

.mp-hero__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px 30px;
	margin-top: 38px;
}

.mp-hero__note {
	margin-top: 18px;
	color: var(--mp-muted);
	font-size: 14.5px;
}

/* L’esempio animato: lo stile di base è l’ultimo fotogramma. */

.mp-demo,
.mp-demo__screen {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 14px;
}

.mp-demo__search {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 15px 26px;
	border: 1px solid var(--mp-input-line);
	border-radius: 999px;
	background: var(--mp-white);
	box-shadow: var(--mp-shadow-card);
}

.mp-demo__search .mp-icon {
	width: 24px;
	height: 24px;
	stroke-width: 1.8;
}

.mp-demo__field {
	min-width: 0;
}

.mp-demo__label {
	display: block;
	color: var(--mp-strong);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .16em;
	line-height: 1.6;
	text-transform: uppercase;
}

.mp-demo__query {
	display: block;
	min-height: 1.5em;
	overflow: hidden;
	color: var(--mp-navy);
	font-size: 17px;
	line-height: 1.5;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.mp-demo__type {
	display: inline-block;
	max-width: 100%;
	overflow: hidden;
	clip-path: inset(0);
	text-overflow: ellipsis;
	vertical-align: top;
	white-space: nowrap;
}

.mp-demo__results {
	display: grid;
	gap: 8px;
}

.mp-demo__result {
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
	padding: 10px 12px 10px 18px;
	border: 1px solid rgb(57 120 169 / 60%);
	border-radius: var(--mp-radius-card);
	background: var(--mp-chip-bg);
	color: var(--mp-navy);
	font-size: 15px;
	font-weight: 600;
	white-space: nowrap;
}

.mp-demo__result > span {
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
}

.mp-demo__result em {
	flex: none;
	margin-left: auto;
	padding: 2px 10px;
	border-radius: 999px;
	background: var(--mp-white);
	color: var(--mp-muted);
	font-size: 12.5px;
	font-style: normal;
	font-weight: 600;
}

.mp-demo__result--dim {
	border-color: var(--mp-line);
	background: var(--mp-white);
	opacity: .45;
}

.mp-demo mark {
	padding: 0 2px;
	border-radius: 4px;
	background: linear-gradient(90deg, rgb(10 60 110 / 15%) 50%, transparent 50%) 0 0 / 200% 100%;
	color: inherit;
}

.mp-demo__card {
	overflow: hidden;
	border: 1px solid var(--mp-line);
	border-radius: var(--mp-radius-panel);
	background: var(--mp-white);
	box-shadow: var(--mp-shadow-card);
}

.mp-demo__head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	padding: 22px 26px 18px;
	border-bottom: 1px solid var(--mp-line);
}

.mp-demo__area {
	display: block;
	color: var(--mp-blue-text);
	font-size: 13.5px;
	font-weight: 600;
}

.mp-demo__title {
	display: block;
	margin-top: 3px;
	font-family: var(--mp-font-heading);
	font-size: 19px;
	font-weight: 650;
	letter-spacing: -.015em;
	line-height: 1.3;
}

.mp-badge {
	display: inline-flex;
	flex: none;
	align-items: center;
	gap: 7px;
	padding: 4px 11px;
	border-radius: 999px;
	background: var(--mp-ok-bg);
	color: var(--mp-ok);
	font-size: 13px;
	font-weight: 600;
}

.mp-badge::before {
	content: "";
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: currentColor;
}

.mp-demo__body {
	padding: 20px 26px 4px;
	color: var(--mp-strong);
	font-size: 15.5px;
	line-height: 1.85;
}

.mp-demo__section {
	display: block;
	margin-bottom: 4px;
	color: var(--mp-blue-text);
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: .18em;
	text-transform: uppercase;
}

.mp-demo__body p + .mp-demo__section {
	margin-top: 16px;
}

/* Il segnaposto e il valore stanno nella stessa cella: il campo non cambia larghezza quando si riempie. */
.mp-var {
	display: inline-grid;
	padding: 0 9px;
	border: 1px solid var(--mp-chip-line);
	border-radius: 999px;
	background: var(--mp-chip-bg);
	color: var(--mp-navy);
	font-weight: 650;
	line-height: 1.6;
	vertical-align: 1px;
}

.mp-var > span {
	grid-area: 1 / 1;
	text-align: center;
}

.mp-var__empty {
	color: var(--mp-muted);
	font-weight: 500;
	opacity: 0;
}

.mp-demo__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 10px;
	padding: 16px 26px 22px;
}

.mp-demo__btn {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	padding: 10px 18px;
	border: 1px solid var(--mp-line);
	border-radius: 999px;
	background: var(--mp-white);
	font-size: 14.5px;
	font-weight: 650;
}

.mp-demo__btn .mp-icon {
	width: 17px;
	height: 17px;
	stroke-width: 1.9;
}

.mp-demo__btn--primary {
	border-color: var(--mp-blue);
	background: var(--mp-blue);
	color: var(--mp-white);
}

.mp-demo__press {
	display: inline-grid;
}

.mp-demo__press > .mp-demo__btn {
	grid-area: 1 / 1;
	justify-content: center;
}

.mp-demo__todo {
	opacity: 0;
}

.mp-demo__ok {
	padding-left: 8px;
	border-color: var(--mp-amber);
	background: var(--mp-amber);
	color: var(--mp-navy-deep);
}

.mp-demo__check {
	display: grid;
	flex: none;
	place-items: center;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: var(--mp-navy);
	color: var(--mp-white);
}

.mp-demo__check svg {
	width: 12px;
	height: 12px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2.4;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-dasharray: 16;
	stroke-dashoffset: 0;
}

.mp-demo__caption {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px 20px;
	padding-inline: 8px;
	color: var(--mp-muted);
	font-size: 14px;
}

.mp-demo__replay {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 6px 2px;
	border: 0;
	background: none;
	color: var(--mp-navy);
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
}

.mp-demo__replay .mp-icon {
	width: 17px;
	height: 17px;
	transition: transform .45s var(--mp-ease);
}

.mp-demo__replay:hover {
	color: var(--mp-navy-hover);
}

.mp-demo__replay:hover .mp-icon {
	transform: rotate(-150deg);
}

.mp-demo__replay[hidden] {
	display: none;
}

/*
 * Motore delle animazioni, lo stesso del blocco Medi PROMPT del tema (blocks/feature-row/style.css).
 * Lo stile di base è l’ultimo fotogramma. Con html.mp-motion ogni elemento .mp-a dentro un .mp-anim
 * resta fermo al primo fotogramma finché main.js non aggiunge .is-live; .is-rewind lo riavvolge.
 */
.mp-a {
	--a: mp-in;
	--t: .3s;
	--d: 0s;
	--e: var(--mp-ease);
}

.mp-motion .mp-anim .mp-a {
	animation: var(--a) var(--t) var(--e) var(--d) both;
	animation-play-state: paused;
}

.mp-motion .mp-anim.is-live .mp-a {
	animation-play-state: running;
}

.mp-anim.is-rewind .mp-a {
	animation: none !important;
}

@keyframes mp-in { from { opacity: 0; translate: 0 7px; } }
@keyframes mp-fade { from { opacity: 0; } }
@keyframes mp-hide { from { opacity: 1; } }
@keyframes mp-dim { from { opacity: 1; } }
@keyframes mp-type { from { clip-path: inset(0 100% 0 0); } }
@keyframes mp-swipe { from { background-position: 100% 0; } }
@keyframes mp-draw { from { stroke-dashoffset: 16; } }
@keyframes mp-press { 50% { scale: .95; } }
@keyframes mp-select { from { border-color: var(--mp-line); background-color: var(--mp-white); } }
@keyframes mp-var { from { border-style: dashed; border-color: #aebccc; background-color: var(--mp-white); } }

/* Comparsa allo scorrimento e increspatura dei pulsanti, come nel tema (base.css). */
.mp-reveal-in {
	animation: mp-reveal .7s var(--mp-ease) both;
	animation-delay: var(--mp-reveal-delay, 0ms);
}

/* L’apertura è già sullo schermo: resta nascosta finché non comincia la sua comparsa. */
.mp-motion .mp-hero .mp-reveal:not(.is-seen) {
	opacity: 0;
}

@keyframes mp-reveal {
	from {
		opacity: 0;
		transform: translateY(20px);
	}
}

.mp-ripple {
	position: absolute;
	z-index: -1;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: currentColor;
	opacity: 0;
	pointer-events: none;
	transform: translate(-50%, -50%) scale(0);
	animation: mp-ripple .6s ease-out forwards;
}

@keyframes mp-ripple {
	0% {
		opacity: .18;
		transform: translate(-50%, -50%) scale(0);
	}

	100% {
		opacity: 0;
		transform: translate(-50%, -50%) scale(65);
	}
}

@keyframes mp-pop {
	40% {
		scale: 1.12;
	}
}

@keyframes mp-fade-down {
	from {
		opacity: 0;
		transform: translateY(-5px);
	}
}

@keyframes mp-spark {
	from {
		opacity: 0;
		transform: scale(0) rotate(-90deg);
	}
}

/* Sezioni. */

.mp-section {
	padding-block: var(--mp-section-pad);
}

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

.mp-section__head {
	max-width: 720px;
	margin-bottom: clamp(36px, 5vw, 60px);
}

.mp-section h2 {
	font-size: clamp(32px, 3.5vw, 46px);
	line-height: 1.1;
	letter-spacing: -.04em;
}

.mp-section__head p {
	max-width: 36em;
	margin-top: 18px;
	color: var(--mp-body);
	font-size: 18px;
}

/* Come funziona: i passaggi diventano schede quando c’è JavaScript. */

.mp-steps {
	display: grid;
	grid-template-columns: minmax(0, 360px) minmax(0, 1fr);
	gap: clamp(28px, 4vw, 64px);
	align-items: start;
}

.mp-steps__list {
	display: grid;
	gap: 6px;
}

.mp-step {
	display: grid;
	grid-template-columns: 40px minmax(0, 1fr);
	gap: 18px;
	width: 100%;
	padding: 20px 22px 22px 18px;
	border: 1px solid transparent;
	border-radius: var(--mp-radius-card);
	background: none;
	text-align: left;
	cursor: pointer;
	transition: background-color .2s ease, border-color .2s ease;
}

.mp-step__num {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border: 1px solid var(--mp-input-line);
	border-radius: 50%;
	font-family: var(--mp-font-heading);
	font-size: 16px;
	font-weight: 700;
	transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.mp-step__title {
	display: block;
	padding-top: 7px;
	font-family: var(--mp-font-heading);
	font-size: 19px;
	font-weight: 650;
	letter-spacing: -.015em;
	line-height: 1.3;
}

.mp-step__desc {
	display: block;
	margin-top: 6px;
	color: var(--mp-muted);
	font-size: 15.5px;
	line-height: 1.55;
}

.mp-step[aria-selected="true"] {
	border-color: var(--mp-line);
	background: var(--mp-paper);
}

.mp-step[aria-selected="true"] .mp-step__num {
	border-color: var(--mp-navy);
	background: var(--mp-navy);
	color: var(--mp-white);
}

.mp-steps__panels {
	display: grid;
	gap: 24px;
}

.mp-shot {
	overflow: hidden;
	border: 1px solid var(--mp-line);
	border-radius: 16px;
	background: var(--mp-tint);
	box-shadow: var(--mp-shadow-card);
}

/* Le schede stanno nella stessa cella: l’altezza resta quella della più alta. */
.mp-steps.is-enhanced .mp-shot {
	grid-area: 1 / 1;
	align-self: start;
	animation: mp-panel-in .4s var(--mp-ease);
}

.mp-steps.is-enhanced .mp-step[aria-selected="true"] .mp-step__num {
	animation: mp-pop .35s var(--mp-ease);
}

.mp-steps.is-enhanced .mp-shot[hidden] {
	display: block;
	visibility: hidden;
	animation: none;
}

@media (hover: hover) and (pointer: fine) {
	.mp-step:hover:not([aria-selected="true"]) {
		background: var(--mp-tint);
	}

	.mp-step:hover:not([aria-selected="true"]) .mp-step__num {
		border-color: var(--mp-navy);
	}
}

@keyframes mp-panel-in {
	from {
		opacity: 0;
		transform: translateY(8px);
	}
}

/* Aree. */

.mp-areas {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	column-gap: clamp(24px, 4vw, 64px);
	padding: 0;
	list-style: none;
}

.mp-area {
	display: grid;
	grid-template-columns: 46px minmax(0, 1fr);
	gap: 18px;
	padding: 28px 0 32px;
	border-top: 1px solid var(--mp-line);
}

.mp-area__icon {
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: var(--mp-area-bg);
	color: var(--mp-area-fg);
	transition: transform .3s var(--mp-ease), box-shadow .3s ease;
}

@media (hover: hover) and (pointer: fine) {
	.mp-area:hover .mp-area__icon {
		transform: translateY(-3px) scale(1.06);
		box-shadow: 0 8px 18px rgb(10 60 110 / 10%);
	}
}

.mp-area__icon .mp-icon {
	width: 22px;
	height: 22px;
	stroke-width: 1.8;
}

.mp-area h3 {
	padding-top: 2px;
	font-size: 18px;
	font-weight: 650;
	letter-spacing: -.015em;
	line-height: 1.3;
}

.mp-area p {
	margin-top: 6px;
	color: var(--mp-muted);
	font-size: 15.5px;
	line-height: 1.55;
}

/* I colori delle aree sono quelli dell’app. */
.mp-area--blue { --mp-area-fg: #1d5fbf; --mp-area-bg: #e2edfb; }
.mp-area--green { --mp-area-fg: #1d7f45; --mp-area-bg: #e0f3e6; }
.mp-area--red { --mp-area-fg: #bd2445; --mp-area-bg: #fbe4e9; }
.mp-area--purple { --mp-area-fg: #7f39b4; --mp-area-bg: #f2e7fa; }
.mp-area--yellow { --mp-area-fg: #94600a; --mp-area-bg: #fcf0d4; }
.mp-area--teal { --mp-area-fg: #187680; --mp-area-bg: #dff1f2; }
.mp-area--emerald { --mp-area-fg: #15745a; --mp-area-bg: #dcf0e9; }
.mp-area--indigo { --mp-area-fg: #3b3fa3; --mp-area-bg: #e7e7f8; }
.mp-area--orange { --mp-area-fg: #b0560a; --mp-area-bg: #fdead6; }

/* Due colonne: testo e riquadro. */

.mp-split {
	display: grid;
	grid-template-columns: minmax(0, .9fr) minmax(0, 1fr);
	gap: clamp(40px, 6vw, 96px);
	align-items: center;
}

.mp-split--reverse .mp-split__text {
	order: 2;
}

.mp-split__text p {
	max-width: 34em;
	margin-top: 18px;
	color: var(--mp-body);
	font-size: 18px;
}

.mp-split__text p + p {
	margin-top: 14px;
}

/* Le parti di un prompt, con le etichette dell’anteprima dell’app. */

.mp-anatomy {
	padding: 10px 30px;
	border: 1px solid var(--mp-line);
	border-radius: var(--mp-radius-panel);
	background: var(--mp-white);
	box-shadow: var(--mp-shadow-card);
}

.mp-anatomy__part {
	padding: 22px 0;
}

.mp-anatomy__part + .mp-anatomy__part {
	border-top: 1px solid var(--mp-line);
}

.mp-anatomy dt {
	color: var(--mp-blue-text);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .18em;
	text-transform: uppercase;
}

.mp-anatomy dd {
	margin-top: 6px;
	color: var(--mp-strong);
	font-size: 16.5px;
	line-height: 1.6;
}

/* Metodo. */

.mp-points {
	display: grid;
	gap: 30px;
	margin-top: 36px;
	padding: 0;
	list-style: none;
}

.mp-points li {
	display: grid;
	grid-template-columns: 28px minmax(0, 1fr);
	gap: 16px;
}

.mp-points .mp-icon {
	width: 26px;
	height: 26px;
	margin-top: 1px;
	color: var(--mp-blue);
	stroke-width: 1.6;
}

.mp-points h3 {
	font-size: 19px;
	font-weight: 650;
	letter-spacing: -.015em;
	line-height: 1.3;
}

.mp-points p {
	max-width: 34em;
	margin-top: 6px;
	color: var(--mp-body);
	font-size: 16.5px;
}

/* Il riquadro che imita i campi dell’app e il controllo dei dati. */

.mp-guard {
	overflow: hidden;
	border: 1px solid var(--mp-line);
	border-radius: var(--mp-radius-panel);
	background: var(--mp-white);
	box-shadow: var(--mp-shadow-card);
}

.mp-guard__panel {
	padding: 28px 30px 30px;
}

.mp-guard__label {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	font-family: var(--mp-font-heading);
	font-size: 17px;
	font-weight: 650;
}

.mp-guard__required {
	color: var(--mp-blue-text);
	font-family: var(--mp-font-body);
	font-size: 14.5px;
	font-weight: 600;
}

.mp-guard__input {
	min-height: 104px;
	margin-top: 12px;
	padding: 14px 18px;
	border: 1px solid var(--mp-input-line);
	border-radius: var(--mp-radius-card);
	background: var(--mp-paper);
	color: var(--mp-strong);
	font-size: 16px;
	line-height: 1.55;
}

.mp-guard__help {
	margin-top: 10px;
	color: var(--mp-muted);
	font-size: 14px;
	line-height: 1.5;
}

.mp-guard__warning {
	display: flex;
	gap: 12px;
	margin-top: 22px;
	padding: 16px 18px;
	border: 1px solid var(--mp-warn-line);
	border-radius: var(--mp-radius-card);
	background: var(--mp-warn-bg);
	color: var(--mp-warn);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.5;
}

.mp-guard__warning .mp-icon {
	margin-top: 1px;
	stroke-width: 1.8;
}

.mp-guard__status {
	display: grid;
	gap: 10px;
	padding: 18px 30px 22px;
	border-top: 1px solid var(--mp-line);
	background: var(--mp-paper);
	color: var(--mp-body);
	font-size: 14px;
	line-height: 1.45;
}

.mp-guard__status > span {
	display: flex;
	gap: 10px;
}

.mp-guard__status .mp-icon {
	width: 18px;
	height: 18px;
	stroke-width: 1.8;
}

.mp-guard__ok .mp-icon {
	color: var(--mp-ok);
}

.mp-guard__tick {
	stroke-dasharray: 16;
	stroke-dashoffset: 0;
}

.mp-guard__todo .mp-icon {
	color: #a8660f;
}

/* Domande frequenti. */

.mp-faq {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
	gap: clamp(28px, 5vw, 80px);
	align-items: start;
}

.mp-faq__intro p {
	max-width: 22em;
	margin-top: 18px;
	color: var(--mp-body);
}

.mp-faq__list {
	border-bottom: 1px solid var(--mp-line);
}

.mp-faq__item {
	border-top: 1px solid var(--mp-line);
}

.mp-faq__item summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 22px 0;
	font-family: var(--mp-font-heading);
	font-size: 19px;
	font-weight: 600;
	letter-spacing: -.015em;
	line-height: 1.35;
	list-style: none;
	cursor: pointer;
}

.mp-faq__item summary::-webkit-details-marker {
	display: none;
}

.mp-faq__item summary .mp-icon {
	width: 22px;
	height: 22px;
	color: var(--mp-blue);
	transition: transform .25s var(--mp-ease);
}

.mp-faq__item[open] summary .mp-icon {
	transform: rotate(45deg);
}

.mp-faq__item summary:hover {
	color: var(--mp-navy-hover);
}

.mp-faq__item:not([open]) summary:hover .mp-icon {
	transform: rotate(90deg);
}

.mp-faq__item[open] .mp-faq__answer {
	animation: mp-fade-down .35s var(--mp-ease);
}

.mp-faq__answer {
	padding: 0 48px 26px 0;
	color: var(--mp-body);
}

.mp-faq__answer p {
	max-width: 40em;
}

.mp-faq__intro a,
.mp-faq__answer a {
	color: var(--mp-navy);
	font-weight: 600;
	text-decoration: underline;
	text-decoration-color: var(--mp-chip-line);
	text-underline-offset: 3px;
}

.mp-faq__intro a:hover,
.mp-faq__answer a:hover {
	text-decoration-color: currentColor;
}

/* Invito finale. */

.mp-cta {
	padding-block: clamp(80px, 10vw, 136px);
	background: var(--mp-navy);
	color: var(--mp-white);
}

.mp-cta__inner {
	position: relative;
}

.mp-cta h2 {
	max-width: 17em;
	color: var(--mp-white);
	font-size: clamp(34px, 4.2vw, 56px);
	line-height: 1.08;
	letter-spacing: -.045em;
}

.mp-cta p {
	max-width: 34em;
	margin-top: 22px;
	color: var(--mp-on-navy);
	font-size: 18px;
}

.mp-cta .mp-button {
	margin-top: 38px;
}

.mp-cta__spark {
	position: absolute;
	fill: var(--mp-amber);
	stroke: none;
}

.mp-cta__spark--big {
	top: -4px;
	right: 6%;
	width: 54px;
	height: 54px;
}

.mp-cta__spark--small {
	top: 64px;
	right: calc(6% + 70px);
	width: 22px;
	height: 22px;
	opacity: .8;
}

.mp-cta__inner.is-seen .mp-cta__spark--big {
	animation: mp-spark .9s var(--mp-ease) .35s both;
}

.mp-cta__inner.is-seen .mp-cta__spark--small {
	animation: mp-spark .9s var(--mp-ease) .55s both;
}

/* Piede. */

.mp-footer {
	padding-block: 56px 40px;
	color: var(--mp-muted);
	font-size: 14.5px;
}

.mp-footer__top {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 28px 40px;
	padding-bottom: 32px;
	border-bottom: 1px solid var(--mp-line);
}

.mp-footer__brand img {
	width: 176px;
}

.mp-footer__brand p {
	margin-top: 12px;
}

.mp-footer__suite {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	padding: 6px 0;
	font-weight: 500;
	transition: opacity .2s ease;
}

.mp-footer__suite img {
	width: 132px;
}

.mp-footer__suite:hover {
	opacity: .75;
}

.mp-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 12px 32px;
	padding-top: 24px;
}

.mp-footer__links {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 24px;
	padding: 0;
	list-style: none;
}

.mp-footer__links a:hover {
	color: var(--mp-navy);
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* Schermi medi e piccoli. */

@media (max-width: 1080px) {
	.mp-areas {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 960px) {
	.mp-hero__grid,
	.mp-steps,
	.mp-split,
	.mp-faq {
		grid-template-columns: minmax(0, 1fr);
	}

	.mp-demo {
		max-width: 620px;
	}

	.mp-split--reverse .mp-split__text {
		order: 0;
	}

	.mp-steps__list {
		max-width: 620px;
	}

	/* Su una colonna la descrizione resta solo sul passaggio scelto, così la schermata è vicina. */
	.mp-steps.is-enhanced .mp-step[aria-selected="false"] .mp-step__desc {
		display: none;
	}
}

@media (max-width: 760px) {
	:root {
		--mp-header-h: 68px;
	}

	.mp-nav {
		display: none;
	}

	.mp-header__logo img {
		width: 150px;
	}

	.mp-header__cta {
		margin-left: auto;
	}

	.mp-cta__spark {
		display: none;
	}
}

@media (max-width: 620px) {
	body {
		font-size: 16px;
	}

	.mp-areas {
		grid-template-columns: minmax(0, 1fr);
	}

	.mp-button--large {
		width: 100%;
		gap: 20px;
		padding: 18px 22px;
		font-size: 17px;
	}

	.mp-demo__search {
		padding: 12px 18px;
	}

	.mp-demo__head,
	.mp-demo__body,
	.mp-demo__actions {
		padding-inline: 18px;
	}

	.mp-demo__head {
		flex-direction: column;
		gap: 10px;
	}

	.mp-demo__body {
		font-size: 15px;
	}

	.mp-demo__actions {
		justify-content: stretch;
	}

	.mp-demo__btn {
		flex: 1 1 auto;
		justify-content: center;
	}

	.mp-demo__press {
		flex: 1 1 auto;
	}

	.mp-demo__result {
		padding-left: 14px;
		font-size: 14px;
	}

	.mp-step {
		padding: 16px 14px;
		gap: 14px;
	}

	.mp-anatomy {
		padding-inline: 20px;
	}

	.mp-guard__panel {
		padding: 22px 20px 24px;
	}

	.mp-guard__status {
		padding-inline: 20px;
	}

	.mp-faq__answer {
		padding-right: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation: none !important;
		transition: none !important;
	}

	.mp-ripple {
		display: none;
	}
}

@media print {
	.mp-header {
		position: static;
	}

	.mp-a,
	.mp-reveal {
		animation: none !important;
	}

	.mp-motion .mp-hero .mp-reveal {
		opacity: 1;
	}
}
