[data-download-cta] [hidden],
[data-scroll-carousel] [hidden],
[data-account-button][hidden] {
	display: none !important;
}

[data-download-cta] {
	align-items: center;
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	width: 100%;
}

[data-download-cta-mobile] {
	align-items: center;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	gap: 1rem;
	justify-content: center;
}

.get-beeper-section [data-download-cta] {
	gap: 0.9rem;
}

.get-beeper-section [data-download-cta-mobile] {
	gap: 0.75rem;
}

.get-beeper-section > p {
	margin-bottom: 1rem !important;
}

[data-download-cta-mobile] a,
[data-download-cta-primary-badge-ios],
[data-download-cta-primary-badge-android] {
	display: inline-block;
	transition: opacity 0.2s ease, transform 0.2s ease;
}

[data-download-cta-mobile] a:hover,
[data-download-cta-primary-badge-ios]:hover,
[data-download-cta-primary-badge-android]:hover {
	opacity: 0.9;
	transform: translateY(-2px);
}

[data-download-cta-mobile] a:active,
[data-download-cta-primary-badge-ios]:active,
[data-download-cta-primary-badge-android]:active {
	transform: translateY(0);
}

[data-download-cta-mobile] img {
	display: block;
	height: 56px;
	width: auto;
}

[data-download-cta-primary-badge-ios] img,
[data-download-cta-primary-badge-android] img {
	display: block;
	height: 60px;
	width: auto;
}

@media (min-width: 768px) {
	[data-download-cta-mobile] img {
		height: 60px;
	}
}

@media (max-width: 640px) {
	[data-download-cta-mobile] {
		flex-direction: column;
		gap: 0.75rem;
	}

	[data-download-cta-mobile] img {
		height: 48px;
	}

	[data-download-cta-primary-badge-ios] img,
	[data-download-cta-primary-badge-android] img {
		height: 54px;
	}
}

:root {
	--beeper-button-bg: #0c52f9;
	--beeper-button-bg-hover: #4958f5;
	--beeper-button-text: #ffffff;
	--beeper-button-border: #d7d7e0;
	--beeper-surface: #ffffff;
	--beeper-text: #171717;
	--beeper-muted: #666666;
}

.button {
	align-items: center;
	border: 1px solid transparent;
	border-radius: 999px;
	cursor: pointer;
	display: inline-flex;
	font-size: 1rem;
	font-weight: 700;
	gap: 0.5rem;
	justify-content: center;
	line-height: 1;
	min-height: 48px;
	padding: 0 1.5rem;
	text-align: center;
	text-decoration: none;
	transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease;
}

.button--primary {
	background: var(--beeper-button-bg);
	color: var(--beeper-button-text);
}

.button--primary:hover {
	background: var(--beeper-button-bg-hover);
	color: var(--beeper-button-text);
}

.button--secondary {
	background: var(--beeper-surface);
	border-color: var(--beeper-button-border);
	color: var(--beeper-text);
}

.button--secondary:hover {
	border-color: var(--beeper-button-bg);
	color: var(--beeper-button-bg);
}

.account-shell {
	margin: 0 auto;
	max-width: 720px;
	padding: 4rem 1.5rem;
}

.account-shell h1 {
	color: var(--beeper-text);
	font-size: clamp(2rem, 6vw, 3rem);
	font-weight: 800;
	letter-spacing: 0;
	line-height: 1;
	margin: 0 0 1rem;
}

.account-shell h2 {
	color: var(--beeper-text);
	font-size: 1.125rem;
	margin: 0 0 0.75rem;
}

.account-shell p,
.account-shell li {
	color: var(--beeper-muted);
	font-size: 1rem;
	line-height: 1.6;
}

.account-shell__back {
	color: var(--beeper-muted);
	display: inline-flex;
	font-size: 0.875rem;
	margin-bottom: 1.5rem;
	text-decoration: none;
}

.account-shell__notice {
	background: #f7f7fb;
	border: 1px solid #e7e7ef;
	border-radius: 12px;
	margin-top: 1.5rem;
	padding: 1.25rem;
}

.account-shell__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 1.5rem;
}

.after-stripe-shell {
	min-height: calc(100vh - 360px);
	text-align: center;
}

.faq-page__main {
	box-sizing: border-box;
	max-width: 720px;
	margin: 0 auto;
	padding: 2rem 1.5rem 4rem;
}

.faq-page__title {
	margin: 0 0 1.75rem;
	font-size: 2.25rem;
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: 0;
}

.faq-page__content > :first-child {
	margin-top: 0;
}

@media (max-width: 767px) {
	.faq-page__main {
		padding-top: 1.5rem;
	}
}

.beeper-qr-hovercard {
	position: absolute;
	left: 50%;
	top: calc(100% + 0.125rem);
	z-index: 30;
	display: block;
	min-width: 250px;
	transform: translate(-50%, 8px);
	white-space: nowrap;
	border-radius: 12px;
	background: #fff;
	padding: 24px;
	text-align: center;
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.14);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 140ms ease, transform 140ms ease, visibility 140ms ease;
}

.beeper-qr-hovercard::before {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	top: -18px;
	height: 18px;
}

.beeper-qr-hovercard__image {
	display: block;
	width: 200px;
	height: 200px;
	margin: 0 auto;
}

.beeper-qr-hovercard__text {
	margin: 8px 0 0;
	font-size: 14px;
	font-weight: 500;
	color: #666;
}

.beeper-qr-hovercard--download-cta {
	min-width: 288px;
}

.beeper-qr-hovercard--download-cta .beeper-qr-hovercard__image {
	width: 240px;
	height: 240px;
}
@media (min-width: 640px) {
	[data-download-qr-card] {
		position: relative;
		display: inline-flex;
	}

	[data-download-qr-card]:hover .beeper-qr-hovercard,
	[data-download-qr-card]:focus-within .beeper-qr-hovercard,
	[data-download-qr-card] .beeper-qr-hovercard:hover,
	[data-download-qr-card] .beeper-qr-hovercard:focus-within {
		opacity: 1;
		visibility: visible;
		pointer-events: auto;
		transform: translate(-50%, 0);
	}
}

@media (prefers-reduced-motion: no-preference) {
	@supports (animation-timeline: scroll(root block)) {
		[data-hero-bubbles] {
			animation: beeper-hero-bubbles linear both;
			animation-range: 0% 75%;
			animation-timeline: scroll(root block);
			transform-origin: center top;
		}

		[data-hero-stars] {
			animation: beeper-hero-stars linear both;
			animation-range: 0% 100%;
			animation-timeline: scroll(root block);
		}

		[data-hero-clouds] {
			animation: beeper-hero-clouds linear both;
			animation-range: 0% 10%;
			animation-timeline: scroll(root block);
		}
	}

	@supports (animation-timeline: view(block)) {
		[data-network-grid] [data-type='network'] {
			animation: beeper-network-bounce 250ms ease-out both;
			animation-timeline: view(block);
			animation-range: entry 0% entry 40%;
			transform-origin: center center;
		}

		[data-network-grid] [data-type='network']:nth-child(1) {
			animation-delay: 0ms;
		}

		[data-network-grid] [data-type='network']:nth-child(2) {
			animation-delay: 50ms;
		}

		[data-network-grid] [data-type='network']:nth-child(3) {
			animation-delay: 100ms;
		}

		[data-network-grid] [data-type='network']:nth-child(4) {
			animation-delay: 150ms;
		}

		[data-network-grid] [data-type='network']:nth-child(5) {
			animation-delay: 200ms;
		}

		[data-network-grid] [data-type='network']:nth-child(6) {
			animation-delay: 250ms;
		}

		[data-network-grid] [data-type='network']:nth-child(7) {
			animation-delay: 300ms;
		}

		[data-network-grid] [data-type='network']:nth-child(8) {
			animation-delay: 350ms;
		}

		[data-network-grid] [data-type='network']:nth-child(9) {
			animation-delay: 400ms;
		}

		[data-network-grid] [data-type='network']:nth-child(10) {
			animation-delay: 450ms;
		}

		[data-network-grid] [data-type='network']:nth-child(11) {
			animation-delay: 500ms;
		}

		[data-network-grid] [data-type='network']:nth-child(12) {
			animation-delay: 550ms;
		}

		[data-scroll-carousel] [data-type='feature'] {
			animation: beeper-feature-enter 500ms ease-out both;
			animation-timeline: view(block);
			animation-range: entry 0% entry 35%;
		}
	}
}

@keyframes beeper-hero-bubbles {
	from {
		transform: translateY(0) scale(1);
	}

	to {
		transform: translateY(1280px) scale(0);
	}
}

@keyframes beeper-hero-stars {
	from {
		transform: translateY(0);
	}

	to {
		transform: translateY(-1280px);
	}
}

@keyframes beeper-hero-clouds {
	from {
		opacity: 0.5;
	}

	to {
		opacity: 1;
	}
}

@keyframes beeper-network-bounce {
	0% {
		transform: scale(1);
	}

	50% {
		transform: scale(0.75);
	}

	100% {
		transform: scale(1);
	}
}

@keyframes beeper-feature-enter {
	0% {
		opacity: 0;
		transform: translateY(128px);
	}

	100% {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Shared utilities ---------------------------------------------------- */
.gradient-text.wp-block-heading,
.gradient-text.wp-block-post-title {
	display: block;
	background: linear-gradient(190.1deg, #6953f2 -7.24%, #0c52f9 109.66%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	-webkit-text-fill-color: transparent;
}

/* Changelog ----------------------------------------------------------- */
.changelog-page {
	width: min(100% - 32px, 800px);
	margin: 0 auto;
	padding: 48px 0 64px;
}

.changelog-title {
	margin: 0 0 24px;
	text-align: center;
	font-size: 2.5rem;
	font-weight: 700;
	background: linear-gradient(190.1deg, #6953f2 -7.24%, #0c52f9 109.66%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}

.tab-menu-wrapper {
	display: flex;
	gap: 0;
	margin-top: 12px;
	border-bottom: 1px solid #e8e8e8;
	overflow-x: auto;
}

.tab-link {
	flex: 0 0 auto;
	padding: 0.75rem 1.25rem;
	border-bottom: 2px solid transparent;
	margin-bottom: -1px;
	color: #999;
	font-size: 0.9375rem;
	font-weight: 500;
	text-decoration: none;
	white-space: nowrap;
	transition: color 0.15s ease, border-color 0.15s ease;
}

.tab-link:hover {
	color: #444;
}

.tab-link.w--current {
	color: #0d4ffb;
	border-bottom-color: #0d4ffb;
	font-weight: 600;
}

.changelog-list {
	margin-top: 8px;
}

.release-card {
	max-width: 100%;
	padding: 1.75rem 0;
	border-bottom: 1px solid #ececec;
}

.release-card:last-child {
	border-bottom: 0;
}

.release-title {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem;
	margin: 0 0 0.875rem;
	font-size: 1rem;
	line-height: 1.3;
}

.platform-badge {
	color: #1a1f2e;
	font-weight: 700;
}

.release-platform {
	display: inline-flex;
	align-items: center;
	padding: 2px 8px;
	border-radius: 999px;
	background: #f0f1f5;
	color: #4a5160;
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.01em;
}

.release-platform--android {
	background: #e8f6ec;
	color: #197536;
}

.release-platform--ios {
	background: #ecebff;
	color: #4a3fcf;
}

.release-platform--desktop {
	background: #fcf1dd;
	color: #845516;
}

.release-sep {
	color: #c4c8d2;
}

.version-text {
	color: #0d4ffb;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
}

.version-text:hover {
	text-decoration: underline;
}

.release-date-inline {
	color: #888f9c;
	font-size: 0.875rem;
	font-weight: 400;
	white-space: nowrap;
}

.changelog-content {
	color: #4a5160;
	font-size: 0.9375rem;
	line-height: 1.65;
}

.changelog-content > :first-child { margin-top: 0; }
.changelog-content > :last-child  { margin-bottom: 0; }

.changelog-content p,
.changelog-content ul,
.changelog-content ol {
	margin: 0 0 0.75rem;
}

.changelog-content ul,
.changelog-content ol {
	padding-left: 1.25rem;
}

.changelog-content li {
	margin: 0.25rem 0;
}

.changelog-content li::marker {
	color: #0d4ffb;
}

.changelog-content :is(h2, h3, h4) {
	margin: 1.5rem 0 0.5rem;
	color: #1a1f2e;
	font-weight: 700;
	line-height: 1.3;
}

.changelog-content :is(h2, h3, h4):first-child { margin-top: 0; }

.changelog-content h2 { font-size: 1.125rem; }
.changelog-content h3 { font-size: 1rem; }
.changelog-content h4 { font-size: 0.9375rem; }

.changelog-content a {
	color: #0d4ffb;
	text-decoration: none;
}

.changelog-content a:hover {
	text-decoration: underline;
}

.changelog-content code {
	padding: 1px 6px;
	border-radius: 4px;
	background: #f1f2f6;
	color: #1a1f2e;
	font-size: 0.875em;
	font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

.changelog-content img,
.changelog-content video {
	max-width: 100%;
	height: auto;
	margin: 0.75rem 0;
	border-radius: 6px;
}

.version-selector {
	display: flex;
	flex-direction: column;
	align-items: center;
	margin-top: 2rem;
	padding-top: 1.5rem;
}

.version-selector label {
	margin-bottom: 0.5rem;
	color: #666;
	font-size: 0.875rem;
	font-weight: 500;
	text-transform: none;
	letter-spacing: 0;
}

.version-selector select {
	min-width: 300px;
	max-width: 100%;
	padding: 0.5rem 2rem 0.5rem 0.75rem;
	border: 1px solid #e0e0e0;
	border-radius: 6px;
	background-color: #fff;
	color: #1a1f2e;
	font-size: 0.875rem;
	cursor: pointer;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.version-selector select:hover {
	border-color: #c8ccd6;
}

.version-selector select:focus {
	outline: 0;
	border-color: #0d4ffb;
	box-shadow: 0 0 0 3px rgba(13, 79, 251, 0.15);
}

.version-selector__see-all {
	margin: 1rem 0 0;
}

.version-selector__see-all a {
	color: #0d4ffb;
	font-size: 0.875rem;
	text-decoration: none;
}

.version-selector__see-all a:hover {
	text-decoration: underline;
}

.changelog-pagination {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 4px;
	margin-top: 2rem;
}

.changelog-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 36px;
	height: 36px;
	padding: 0 10px;
	border-radius: 6px;
	color: #4a5160;
	font-size: 0.875rem;
	font-weight: 500;
	text-decoration: none;
	transition: background 0.15s ease, color 0.15s ease;
}

.changelog-pagination .page-numbers:hover {
	background: #f4f5f8;
	color: #0d4ffb;
}

.changelog-pagination .page-numbers.current {
	background: #0d4ffb;
	color: #fff;
}

.changelog-empty {
	padding: 2rem 0;
	color: #888f9c;
	text-align: center;
}

@media (max-width: 640px) {
	.changelog-page {
		width: min(100% - 24px, 800px);
		padding: 28px 0 48px;
	}

	.changelog-title {
		font-size: 2rem;
	}

	.tab-link {
		padding: 0.75rem 0.875rem;
		font-size: 0.875rem;
	}
}
