/* Local overrides */

/* welcome */

.section-welcome .apple-intelligence-marquee {
	translate: 0.3em 0;
}

.section-welcome
	.marquee-milestone-cta
	.milestone-secondary
	+ .milestone-secondary {
	margin-top: 0;
}

.section-welcome .media-container .overview-welcome-headline {
	position: absolute;
	z-index: 3;
	opacity: 0;
	animation: appearElement 3s ease 3s 1 forwards;
	transform: scale(var(--scale-media-modifier));
	transform-origin: top;
}

html.no-enhanced .section-welcome .media-container .overview-welcome-headline,
html.no-js .section-welcome .media-container .overview-welcome-headline {
	opacity: 1;
	animation: none;
}

@keyframes appearElement {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

/* Dynamic Pricing */
.sosumi-link-follows,
.sosumi-link-follows ~ .footnote {
	display: none;
}

.sosumi-link-follows[data-pricing-loaded],
.sosumi-link-follows[data-pricing-loaded] ~ .footnote {
	display: inline;
}

/* Highlights */
.section-highlights .footnote.footnote-diamond a {
	color: rgb(0, 102, 204);
}

@media only screen and (min-width: 1069px) {
	.section-highlights .media-gallery-item-design .caption {
		--caption-width: 450px;
	}

	.section-highlights
		.media-gallery-item-center-stage
		.caption
		span:first-child {
		--caption-span-width: 360px;
	}
}

@media only screen and (max-width: 734px) and (min-width: 481px) {
	.section-highlights
		.media-gallery-item-center-stage
		.caption
		span:first-child {
		--caption-span-width: 270px;
	}
}

@media only screen and (min-width: 1069px) {
	.section-apple-intelligence
		.subsection-privacy
		.subsection-header-headline {
		max-width: 485px;
	}
}

/* Apple Intelligence */
.section-apple-intelligence .subsection-privacy .subsection-header-headline {
	margin-inline-start: 30px;
	margin-inline-end: 30px;
	max-width: 100%;
}

@media only screen and (max-width: 734px) {
	.section-apple-intelligence
		.subsection-privacy
		.subsection-header-headline {
		margin-inline-start: 0;
	}
}
