/* MrPill landing page and privacy policy. */

:root {
	--mp-bg: #fbf5f9;
	--mp-ink: #3a2e45;
	--mp-muted: #5e5168;
	--mp-soft: #6e6178;
	--mp-accent: #a82c55;
	--mp-accent-hover: #7e1f40;
	--mp-btn: linear-gradient(180deg, #c93e66, #a82c55);
	--mp-btn-shadow: 0 10px 22px rgba(201, 62, 102, 0.3), inset 0 2px 0 rgba(255, 255, 255, 0.3);
	--mp-card-shadow: 0 14px 34px rgba(150, 110, 170, 0.12);
	--mp-font: 'Quicksand', ui-rounded, 'SF Pro Rounded', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

body.mp {
	margin: 0;
	min-height: 100vh;
	overflow-x: hidden;
	background: var(--mp-bg);
	color: var(--mp-ink);
	font-family: var(--mp-font);
	font-weight: 600;
	-webkit-font-smoothing: antialiased;
}

.mp a {
	color: var(--mp-accent);
}

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

.mp :focus-visible {
	outline: 3px solid var(--mp-accent);
	outline-offset: 3px;
	border-radius: 8px;
}

.mp h1,
.mp h2,
.mp h3 {
	margin: 0;
	font-weight: 700;
	text-wrap: balance;
}

.mp p {
	margin: 0;
	text-wrap: pretty;
}

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

.mp-skip {
	position: absolute;
	left: -9999px;
}

.mp-skip:focus {
	left: 16px;
	top: 16px;
	z-index: 10;
	padding: 10px 16px;
	background: #fff;
	border-radius: 12px;
}

.mp-container {
	width: 100%;
	max-width: 1160px;
	margin: 0 auto;
	padding-left: 24px;
	padding-right: 24px;
}

.mp-container--narrow {
	max-width: 860px;
}

.mp-stack {
	display: flex;
	flex-direction: column;
	gap: 40px;
}

.mp-section {
	padding: 80px 0;
}

.mp-section--end {
	padding: 100px 0;
}

.mp-band {
	padding: 90px 0;
	background: #fff;
}

.mp-band.mp-band--privacy {
	padding: 80px 0;
}

.mp h2 {
	font-size: clamp(30px, 4vw, 44px);
	letter-spacing: -0.5px;
}

.mp-lead,
.mp-intro p {
	font-size: 18px;
	line-height: 1.55;
	color: var(--mp-muted);
}

.mp-intro {
	display: flex;
	flex-direction: column;
	gap: 12px;
	max-width: 640px;
}

/* Buttons */

.mp-btn,
.mp a.mp-btn {
	height: 60px;
	padding: 0 28px;
	border-radius: 20px;
	background: var(--mp-btn);
	box-shadow: var(--mp-btn-shadow);
	color: #fff;
	font-size: 19px;
	font-weight: 700;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	text-decoration: none;
	white-space: nowrap;
	transition: transform 0.15s ease, filter 0.15s ease;
}

.mp a.mp-btn:hover {
	color: #fff;
	filter: brightness(1.06);
	transform: translateY(-1px);
}

.mp-btn--small,
.mp a.mp-btn--small {
	height: 48px;
	padding: 0 22px;
	border-radius: 16px;
	font-size: 16px;
}

.mp-btn--light,
.mp a.mp-btn--light {
	background: #fff;
	box-shadow: 0 6px 16px rgba(150, 110, 170, 0.16);
	color: var(--mp-ink);
	font-size: 18px;
}

.mp a.mp-btn--light:hover {
	color: var(--mp-ink);
}

.mp-btn--light.mp-btn--small {
	font-size: 16px;
	padding: 0 18px;
	gap: 8px;
}

.mp-btn--soon {
	cursor: default;
	white-space: normal;
	text-align: center;
	line-height: 1.2;
}

/* Header */

.mp-header {
	padding-top: 22px;
	padding-bottom: 22px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
}

.mp a.mp-brand {
	display: flex;
	align-items: flex-end;
	gap: 10px;
	color: var(--mp-ink);
	text-decoration: none;
	font-size: 24px;
	font-weight: 700;
	line-height: 1.2;
}

.mp-nav {
	display: flex;
	align-items: center;
	gap: 6px;
	flex-wrap: wrap;
}

.mp-nav a:not(.mp-btn) {
	padding: 10px 14px;
	border-radius: 14px;
	font-size: 16px;
	font-weight: 700;
	text-decoration: none;
	color: var(--mp-muted);
}

.mp-nav a:not(.mp-btn):hover {
	background: #f6eff8;
	color: var(--mp-ink);
}

.mp-header__end {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
}

/* Hero */

.mp-hero {
	padding-top: 50px;
	padding-bottom: 90px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 28px;
	text-align: center;
}

.mp-hero__text {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 28px;
}

.mp-chip {
	height: 34px;
	padding: 0 14px;
	border-radius: 17px;
	background: #fce4eb;
	color: var(--mp-accent);
	font-size: 15px;
	font-weight: 700;
	display: flex;
	align-items: center;
}

.mp-hero h1 {
	max-width: 880px;
	font-size: clamp(40px, 5.6vw, 66px);
	line-height: 1.05;
	letter-spacing: -1px;
}

.mp-hero .mp-lead {
	font-size: 20px;
	max-width: 620px;
}

.mp-actions {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	flex-wrap: wrap;
}

/* Three phones under the hero text */

.mp-trio {
	position: relative;
	width: 100%;
	margin-top: 30px;
	display: flex;
	justify-content: center;
	align-items: flex-end;
	text-align: left;
}

.mp-trio__halo {
	position: absolute;
	left: 50%;
	top: 60px;
	width: 900px;
	max-width: 100%;
	height: 520px;
	transform: translateX(-50%);
	border-radius: 260px;
	background: radial-gradient(ellipse at 50% 50%, #fff 0%, #f8e3ee 45%, rgba(239, 221, 245, 0) 75%);
}

.mp-phone--center {
	z-index: 3;
}

.mp-phone--side {
	z-index: 1;
	width: 260px;
	height: 540px;
	border-radius: 46px;
	border-width: 10px;
	box-shadow: 0 34px 70px rgba(90, 50, 110, 0.26);
	gap: 10px;
	padding: 40px 12px 12px;
}

.mp-phone--left {
	margin-right: -40px;
	transform: translateY(40px) rotate(-7deg);
}

.mp-phone--right {
	margin-left: -40px;
	transform: translateY(40px) rotate(7deg);
}

.mp-status {
	position: absolute;
	left: 0;
	right: 0;
	top: 8px;
	z-index: 5;
	height: 26px;
	display: grid;
	grid-template-columns: minmax(0, 1fr) 76px minmax(0, 1fr);
	align-items: center;
	font-size: 13px;
	font-weight: 700;
	color: #1e1824;
}

.mp-status > span:first-child {
	justify-self: center;
	padding-left: 6px;
}

.mp-status__island {
	width: 76px;
	height: 22px;
	border-radius: 11px;
	background: #0e0b10;
}

.mp-status__icons {
	justify-self: center;
	padding-right: 6px;
	display: flex;
	align-items: center;
	gap: 4px;
}

/* Dose reminder screen */

.mp-alert {
	flex: 1;
	margin: -40px -12px -12px;
	padding: 40px 16px 16px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 12px;
	text-align: center;
	background: linear-gradient(180deg, #fbf0f6, #f2e7f7);
}

.mp-alert__time {
	height: 26px;
	padding: 0 12px;
	border-radius: 13px;
	background: #fff;
	font-size: 12px;
	font-weight: 700;
	display: flex;
	align-items: center;
}

.mp-alert__pill {
	width: 150px;
	height: 150px;
	border-radius: 50%;
	background: radial-gradient(circle at 45% 35%, #e9f8f4, #bde9df 60%, #86cfc6);
	display: flex;
	align-items: center;
	justify-content: center;
}

.mp-alert__title {
	font-size: 22px;
	font-weight: 700;
}

.mp-alert__dose {
	font-size: 13px;
	color: var(--mp-soft);
}

.mp-alert__btn,
.mp-alert__snooze {
	align-self: stretch;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
}

.mp-alert__btn {
	height: 42px;
	margin-top: 6px;
	border-radius: 14px;
	background: var(--mp-btn);
	box-shadow: var(--mp-btn-shadow);
	color: #fff;
	font-size: 15px;
}

.mp-alert__snooze {
	height: 38px;
	border-radius: 13px;
	background: #fff;
	font-size: 13px;
}

/* Medications screen */

.mp-phone__h--small {
	padding: 0 4px;
	font-size: 22px;
}

.mp-low {
	border-radius: 16px;
	padding: 10px 12px;
	display: flex;
	align-items: center;
	gap: 10px;
	background: linear-gradient(180deg, #fff8e6, #ffefc9);
	font-size: 12px;
	font-weight: 700;
	line-height: 1.35;
}

.mp-stock {
	background: #fff;
	border-radius: 16px;
	padding: 10px 12px;
	display: flex;
	flex-direction: column;
	gap: 6px;
	box-shadow: 0 6px 14px rgba(150, 110, 170, 0.1);
}

.mp-stock__row {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
}

.mp-stock__row b {
	flex: 1;
}

.mp-stock__dot {
	width: 24px;
	height: 24px;
	border-radius: 8px;
}

.mp-stock__left {
	font-size: 11px;
	font-weight: 700;
	color: var(--mp-soft);
}

.mp-stock__left--low {
	color: #8a4b00;
}

.mp-stock__bar {
	height: 6px;
	border-radius: 3px;
	background: #f1e8f4;
	overflow: hidden;
}

.mp-stock__fill {
	display: block;
	height: 100%;
	border-radius: 3px;
	background: linear-gradient(90deg, #5fc0b4, #2f8fa6);
}

.mp-stock__fill--low {
	background: linear-gradient(90deg, #f5b443, #e8892e);
}

/* Phone mockup */

.mp-phone {
	position: relative;
	width: 290px;
	height: 600px;
	flex-shrink: 0;
	border-radius: 52px;
	border: 11px solid #2b2233;
	background: var(--mp-bg);
	box-shadow: 0 40px 80px rgba(90, 50, 110, 0.28);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 44px 14px 14px;
	color: var(--mp-ink);
}

.mp-phone__title {
	display: flex;
	flex-direction: column;
	padding: 0 4px;
}

.mp-phone__date {
	font-size: 12px;
	color: var(--mp-soft);
}

.mp-phone__h {
	font-size: 26px;
	font-weight: 700;
}

.mp-phone__group {
	padding: 2px 6px 0;
	font-size: 12px;
	font-weight: 700;
	color: var(--mp-soft);
}

.mp-next {
	background: #fff;
	border-radius: 22px;
	padding: 12px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	box-shadow: 0 10px 22px rgba(150, 110, 170, 0.14);
}

.mp-next__row {
	display: flex;
	align-items: center;
	gap: 12px;
}

.mp-next__pill {
	width: 74px;
	height: 74px;
	border-radius: 50%;
	background: radial-gradient(circle at 50% 40%, #fff, #f4e7f6 60%, #e9daf0);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.mp-next__text {
	display: flex;
	flex-direction: column;
	gap: 1px;
}

.mp-next__when {
	font-size: 12px;
	font-weight: 700;
	color: var(--mp-accent);
}

.mp-next__name {
	font-size: 20px;
	font-weight: 700;
}

.mp-next__dose {
	font-size: 12px;
	color: var(--mp-soft);
}

.mp-next__btn {
	height: 40px;
	border-radius: 14px;
	background: var(--mp-btn);
	box-shadow: var(--mp-btn-shadow);
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
}

.mp-dose {
	background: #fff;
	border-radius: 18px;
	padding: 9px 10px;
	display: flex;
	align-items: center;
	gap: 10px;
	box-shadow: 0 6px 14px rgba(150, 110, 170, 0.1);
}

.mp-dose__icon {
	width: 38px;
	height: 38px;
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.mp-dose__text {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 1px;
	font-size: 12px;
	color: var(--mp-soft);
}

.mp-dose__text b {
	font-size: 14px;
	color: var(--mp-ink);
}

.mp-dose__check,
.mp-dose__ring {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	flex-shrink: 0;
}

.mp-dose__check {
	background: linear-gradient(180deg, #5fc0b4, #2f8fa6);
	display: flex;
	align-items: center;
	justify-content: center;
}

.mp-dose__ring {
	border: 2.5px solid #9c88ac;
}

/* Cards */

.mp-card {
	background: #fff;
	border-radius: 28px;
	box-shadow: var(--mp-card-shadow);
}

.mp-card p {
	line-height: 1.55;
	color: var(--mp-muted);
}

.mp-steps {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 22px;
	flex-wrap: wrap;
}

.mp-step {
	flex: 1 1 280px;
	padding: 28px 26px;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.mp-step__top {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	min-height: 100px;
	padding-right: 7px;
}

.mp-step__num {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: #fce4eb;
	color: var(--mp-accent);
	font-size: 20px;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
}

.mp-step h3 {
	font-size: 22px;
}

.mp-step p {
	font-size: 17px;
}

.mp-features {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 22px;
}

.mp-feature {
	padding: 26px;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.mp-feature h3 {
	font-size: 20px;
}

.mp-feature p {
	font-size: 16px;
}

.mp-feature__icon {
	width: 52px;
	height: 52px;
	border-radius: 16px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.mp-tone--pink {
	background: #fce4eb;
	color: #a82c55;
}

.mp-tone--sun {
	background: #fff0c7;
	color: #8a4b00;
}

.mp-tone--mint {
	background: #ddf3ee;
	color: #1f6170;
}

.mp-tone--lilac {
	background: #f1eaf4;
	color: #4e4258;
}

.mp-tone--blue {
	background: #e6ecfb;
	color: #2e4a8f;
}

/* Privacy and medical notes */

.mp-notes {
	display: flex;
	gap: 22px;
	flex-wrap: wrap;
}

.mp-note {
	flex: 1 1 420px;
	padding: 36px;
	border-radius: 28px;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.mp .mp-note h2 {
	font-size: 32px;
}

.mp-note p {
	font-size: 18px;
	line-height: 1.55;
	color: var(--mp-muted);
}

.mp-note a {
	align-self: flex-start;
	font-size: 17px;
	font-weight: 700;
}

.mp-note--lilac {
	background: #f6eff8;
}

.mp-note--sun {
	background: #fff6e2;
}

.mp-note--sun p {
	color: #5a4520;
}

/* FAQ */

.mp-faq {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.mp-faq__item {
	background: #fff;
	border-radius: 22px;
	box-shadow: 0 8px 22px rgba(150, 110, 170, 0.1);
	overflow: hidden;
}

.mp-faq__item summary {
	min-height: 64px;
	padding: 16px 22px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	font-size: 18px;
	font-weight: 700;
	cursor: pointer;
	list-style: none;
}

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

.mp-faq__sign {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: #fce4eb;
	color: var(--mp-accent);
	font-size: 20px;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.mp-faq__sign::before {
	content: '+';
}

.mp-faq__item[open] .mp-faq__sign::before {
	content: '–';
}

.mp-faq__item p {
	padding: 0 22px 20px;
	font-size: 17px;
	line-height: 1.55;
	color: var(--mp-muted);
}

/* Closing call to action */

.mp-end {
	border-radius: 36px;
	background: linear-gradient(160deg, #fff4f8 0%, #f8dceb 55%, #e9d2f3 100%);
	padding: 56px 40px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	flex-wrap: wrap;
}

.mp-end__text {
	flex: 1 1 380px;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.mp-end__text p {
	font-size: 18px;
	color: var(--mp-muted);
}

.mp-end__btn {
	padding-top: 8px;
}

/* Footer */

.mp-footer {
	padding-top: 10px;
	padding-bottom: 40px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
	font-size: 15px;
	color: var(--mp-muted);
}

.mp-footer a {
	font-weight: 700;
}

.mp-footer__links {
	display: flex;
	gap: 20px;
	flex-wrap: wrap;
}

/* Privacy policy page */

.mp-doc__hero {
	padding-top: 30px;
	padding-bottom: 40px;
	display: flex;
	align-items: center;
	gap: 40px;
	flex-wrap: wrap;
}

.mp-doc__intro {
	flex: 1 1 480px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.mp-doc__intro h1 {
	font-size: clamp(38px, 5vw, 58px);
	letter-spacing: -1px;
	line-height: 1.08;
}

.mp-doc__intro .mp-lead {
	font-size: 20px;
	line-height: 1.6;
	max-width: 600px;
}

.mp-doc__date {
	font-size: 15px;
	font-weight: 700;
	color: var(--mp-muted);
}

.mp-doc__art {
	width: 170px;
	height: 190px;
	border-radius: 85px;
	background: radial-gradient(circle at 50% 42%, #fff, #f7eef9 60%, #efe2f5);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.mp-doc__shortwrap {
	padding-bottom: 40px;
}

.mp-doc__short {
	padding: 30px 32px;
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.mp .mp-doc__short h2 {
	font-size: 24px;
	letter-spacing: 0;
}

.mp-doc__short ul {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 16px 28px;
}

.mp-doc__short li {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.45;
}

.mp-doc__short li > span:last-child {
	padding-top: 4px;
}

.mp-doc__tick {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.mp-doc__body {
	padding-bottom: 60px;
	display: flex;
	gap: 48px;
	flex-wrap: wrap;
	align-items: flex-start;
}

.mp-toc {
	flex: 1 1 220px;
	max-width: 280px;
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding-top: 22px;
	position: sticky;
	top: 16px;
}

.mp-toc span {
	padding: 0 14px 8px;
	font-size: 14px;
	font-weight: 700;
	color: var(--mp-muted);
}

.mp-toc a {
	display: flex;
	align-items: center;
	min-height: 40px;
	padding: 0 14px;
	border-radius: 12px;
	font-size: 16px;
	font-weight: 700;
	text-decoration: none;
	color: var(--mp-muted);
}

.mp .mp-toc a:hover {
	background: #f6eff8;
	color: var(--mp-ink);
}

.mp-doc__sections {
	flex: 999 1 560px;
	min-width: 0;
	display: flex;
	flex-direction: column;
}

.mp-doc__sections section {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 26px 0;
	border-top: 1px solid #efe6f2;
	scroll-margin-top: 16px;
}

.mp .mp-doc__sections h2 {
	font-size: 26px;
	letter-spacing: 0;
}

.mp-doc__sections p {
	font-size: 18px;
	line-height: 1.6;
	color: var(--mp-muted);
}

.mp-langswitch {
	display: flex;
	gap: 4px;
	padding: 4px;
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 6px 16px rgba(150, 110, 170, 0.16);
}

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

.mp-langswitch button {
	min-height: 40px;
	padding: 0 12px;
	border: none;
	border-radius: 12px;
	background: transparent;
	font: inherit;
	font-size: 15px;
	font-weight: 700;
	color: var(--mp-muted);
	cursor: pointer;
}

.mp-langswitch button[aria-pressed='true'] {
	background: #fce4eb;
	color: var(--mp-accent);
}

/* Mr Pill */

.mp-pill {
	position: relative;
	display: block;
	flex-shrink: 0;
	transform-origin: 50% 100%;
}

.mp-pill svg {
	display: block;
	width: 100%;
	height: 100%;
	overflow: visible;
}

.mp-pill--logo {
	width: 26px;
	height: 43px;
	margin: 0 2px 2px;
}

.mp-pill--phone {
	width: 38px;
	height: 63px;
}

.mp-pill--alert {
	width: 64px;
	height: 107px;
}

.mp-pill--low {
	width: 28px;
	height: 47px;
}

.mp-pill.mp-pill--alert[data-mood] {
	animation: mpWiggle 1.3s ease-in-out infinite;
}

.mp-pill.mp-pill--low[data-mood] {
	animation: mpSway 3.6s ease-in-out infinite;
}

.mp-pill.mp-pill--phone[data-mood] {
	animation: mpBob 2.4s ease-in-out infinite;
}

.mp-pill--end {
	width: 110px;
	height: 183px;
}

.mp-pill--end {
	margin: 0 20px;
}

.mp-pill--step {
	width: 56px;
	height: 93px;
}

.mp-pill--doc {
	width: 92px;
	height: 153px;
}

.mp-face {
	display: none;
}

.mp-pill[data-mood='happy'] .mp-face--happy,
.mp-pill[data-mood='surprised'] .mp-face--surprised,
.mp-pill[data-mood='wink'] .mp-face--wink,
.mp-pill[data-mood='sad'] .mp-face--sad,
.mp-pill[data-mood='sleepy'] .mp-face--sleepy,
.mp-pill[data-mood='determined'] .mp-face--determined {
	display: inline;
	transform-box: fill-box;
	transform-origin: center;
	animation: mpPop 0.45s cubic-bezier(0.3, 1.6, 0.5, 1);
}

.mp-pill[data-mood='happy'] {
	animation: mpBob 2.6s ease-in-out infinite;
}

.mp-pill[data-mood='surprised'] {
	animation: mpWiggle 1.2s ease-in-out infinite;
}

.mp-pill[data-mood='wink'] {
	animation: mpJump 0.8s ease-out 1, mpBob 2.6s ease-in-out 0.8s infinite;
}

.mp-pill[data-mood='sad'] {
	animation: mpDroop 4.2s ease-in-out infinite;
}

.mp-pill[data-mood='sleepy'] {
	animation: mpSway 3.8s ease-in-out infinite;
}

.mp-pill[data-mood='determined'] {
	animation: mpShake 2.4s ease-in-out infinite;
}

.mp-pill.mp-pill--still {
	animation: none;
}

.mp-blink {
	transform-box: fill-box;
	transform-origin: center;
	animation: mpBlink 4.2s ease-in-out infinite;
}

.mp-twinkle {
	transform-box: fill-box;
	transform-origin: center;
	animation: mpTwinkle 1.6s ease-in-out infinite;
}

.mp-tear {
	transform-box: fill-box;
	transform-origin: center;
	animation: mpTear 2.6s ease-in infinite;
}

.mp-z {
	transform-box: fill-box;
	animation: mpZ 2.6s ease-out infinite;
}

@keyframes mpBob { 0%, 100% { transform: rotate(-4deg); } 50% { transform: rotate(4deg); } }
@keyframes mpWiggle { 0%, 100% { transform: rotate(-7deg); } 50% { transform: rotate(7deg); } }
@keyframes mpJump { 0% { transform: rotate(0); } 30% { transform: rotate(-12deg); } 60% { transform: rotate(9deg); } 80% { transform: rotate(-5deg); } 100% { transform: rotate(-4deg); } }
@keyframes mpDroop { 0%, 100% { transform: rotate(-3deg); } 50% { transform: rotate(3deg); } }
@keyframes mpSway { 0%, 100% { transform: rotate(-5deg); } 50% { transform: rotate(5deg); } }
@keyframes mpShake { 0%, 30%, 100% { transform: translateX(0); } 5%, 15%, 25% { transform: translateX(-3px); } 10%, 20% { transform: translateX(3px); } }
@keyframes mpBlink { 0%, 91%, 100% { transform: scaleY(1); } 94% { transform: scaleY(0.08); } }
@keyframes mpPop { 0% { transform: scale(0.4); opacity: 0; } 60% { transform: scale(1.15); opacity: 1; } 100% { transform: scale(1); opacity: 1; } }
@keyframes mpTwinkle { 0%, 100% { transform: scale(0.5); opacity: 0.3; } 50% { transform: scale(1.1); opacity: 1; } }
@keyframes mpZ { 0% { transform: translate(0, 0) scale(0.6); opacity: 0; } 25% { opacity: 1; } 100% { transform: translate(16px, -34px) scale(1.15); opacity: 0; } }
@keyframes mpTear { 0% { transform: translateY(-2px); opacity: 0; } 25% { opacity: 1; } 100% { transform: translateY(16px); opacity: 0; } }

/* Small screens */

@media (max-width: 820px) {
	.mp-phone--side {
		display: none;
	}
}

@media (max-width: 720px) {
	.mp-nav a:not(.mp-btn) {
		padding: 10px;
	}

	.mp-hero {
		padding-top: 32px;
		padding-bottom: 64px;
		gap: 24px;
	}

	.mp-hero__text {
		gap: 22px;
	}

	.mp-trio {
		margin-top: 8px;
	}

	.mp-section,
	.mp-band,
	.mp-band.mp-band--privacy {
		padding: 64px 0;
	}

	.mp-note,
	.mp-end {
		padding: 28px 24px;
	}

	.mp-toc {
		position: static;
		max-width: none;
	}
}

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

	.mp *,
	.mp-pill {
		animation: none !important;
		transition: none !important;
	}
}
