/* Morningstar Direct. Measurements follow the design at a 1440px wide screen. */

@font-face {
	font-family: "Figtree";
	src: url("../fonts/figtree-var.woff2") format("woff2");
	font-weight: 300 900;
	font-display: swap;
}

@font-face {
	font-family: "Fraunces";
	src: url("../fonts/fraunces-var.woff2") format("woff2");
	font-weight: 100 900;
	font-display: swap;
}

:root {
	--ms-blue: #2721ff;
	--ms-blue-dark: #1b16d6;
	--ms-navy: #0b0b2f;
	--ms-navy-soft: #1c1c4a;
	--ms-text: #41405f;
	--ms-muted: #6d6c86;
	--ms-line: #e4e3ee;
	--ms-surface: #f6f5fa;
	--ms-tint: #f2f2fe;
	--ms-chip: #eae8fe;
	--ms-backing: #ecebfd;
	--ms-disabled: #f1f0f6;
	--ms-disabled-text: #bebdcb;
	--ms-white: #fff;
	--ms-ok: #0f7a4f;
	--ms-error: #b3261e;
	--ms-radius-s: 8px;
	--ms-radius-m: 12px;
	--ms-radius-l: 20px;
	--ms-radius-xl: 25px;
	--ms-gutter: clamp(16px, 4.5vw, 64px);
	--ms-serif: "Fraunces", Georgia, "Times New Roman", serif;
	--ms-sans: "Figtree", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--ms-shadow: 0 18px 40px rgba(11, 11, 47, .14);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 24px; -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	background: var(--ms-white);
	color: var(--ms-text);
	font-family: var(--ms-sans);
	font-size: 17px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }

a { color: inherit; }

ul, ol { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, p, figure, dl, dd { margin: 0; }

button, input, select, textarea { font: inherit; color: inherit; }

[hidden] { display: none !important; }

:focus-visible { outline: 3px solid var(--ms-blue); outline-offset: 2px; border-radius: 4px; }

.ms-wrap { width: min(100% - var(--ms-gutter) * 2, 1237px); margin-inline: auto; }

.ms-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.ms-hp { position: absolute; left: -9999px; }

.ms-skip { position: absolute; left: 16px; top: -60px; z-index: 50; padding: 10px 16px; background: var(--ms-navy); color: #fff; border-radius: var(--ms-radius-s); }
.ms-skip:focus { top: 12px; }

/* Type */
.ms-eyebrow {
	margin-bottom: 14px;
	color: var(--ms-blue);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .16em;
	line-height: 1.3;
	text-transform: uppercase;
}
.ms-eyebrow--small { margin-bottom: 10px; font-size: 11.5px; letter-spacing: .14em; }

.ms-display, .ms-title, .ms-panel__title {
	color: var(--ms-navy);
	font-family: var(--ms-serif);
	font-weight: 400;
	font-optical-sizing: auto;
}
.ms-display { font-size: clamp(44px, 5.35vw, 77px); font-variation-settings: "opsz" 72; line-height: 1.1; }
.ms-title { font-size: clamp(34px, 3.9vw, 56px); font-variation-settings: "opsz" 60; line-height: 1.16; }
.ms-title--narrow { max-width: 560px; }
.ms-title--light { color: #fff; }
.ms-subtitle { color: var(--ms-navy); font-size: 21px; font-weight: 700; line-height: 1.3; }

.ms-textlink {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--ms-blue);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.4;
	text-decoration: none;
}
.ms-textlink:hover { text-decoration: underline; text-underline-offset: 3px; }
.ms-linkbutton { padding: 0; background: none; border: 0; cursor: pointer; text-align: left; }

/* Buttons */
.ms-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 10px 22px;
	border: 1.5px solid transparent;
	border-radius: var(--ms-radius-s);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: background-color .15s, border-color .15s, color .15s;
}
.ms-btn--primary { background: var(--ms-blue); color: #fff; }
.ms-btn--primary:hover { background: var(--ms-blue-dark); }
.ms-btn--outline { border-color: var(--ms-navy); background: transparent; color: var(--ms-navy); }
.ms-btn--outline:hover { background: var(--ms-navy); color: #fff; }
.ms-btn--ghost { border-color: rgba(255, 255, 255, .4); background: transparent; color: #fff; }
.ms-btn--ghost:hover { background: rgba(255, 255, 255, .1); }
.ms-btn--small { min-height: 44px; padding: 8px 18px; font-size: 14px; }
.ms-btn--large { min-height: 56px; padding: 12px 32px; font-size: 16px; }
.ms-btn--wide { width: 100%; }

.ms-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* Header */
.ms-header { position: relative; background: #fff; }
.ms-header__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 81px;
}
.ms-header::after { content: ""; position: absolute; left: 0; right: 0; top: 81px; border-top: 1px solid var(--ms-line); }
.ms-logo { display: block; flex: none; }
.ms-logo img { width: auto; height: 38px; }
.ms-header__actions { display: flex; align-items: center; gap: 10px; }
.ms-header__actions .ms-btn { min-height: 42px; padding: 8px 20px; font-size: 14px; }
.ms-header__login { margin-right: 14px; }
.ms-header__request { white-space: nowrap; }
.ms-header__tool {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	min-width: 44px;
	justify-content: center;
	padding: 0 6px;
	border: 0;
	background: none;
	color: var(--ms-navy);
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
}
.ms-basket-count {
	position: absolute;
	top: 3px;
	right: 0;
	display: grid;
	place-items: center;
	min-width: 18px;
	height: 18px;
	padding: 0 4px;
	border-radius: 9px;
	background: var(--ms-blue);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
}
.ms-menu-toggle { display: none; }
.ms-nav__list { display: flex; flex-wrap: wrap; gap: 4px 32px; padding: 14px 0; }
.ms-nav__list a { color: var(--ms-navy); font-size: 14.5px; font-weight: 500; text-decoration: none; }
.ms-nav__list a:hover { color: var(--ms-blue); }
.ms-nav__login { display: none; }

/* Hero */
.ms-hero { padding: 56px 0 90px; }
.ms-hero__grid { display: grid; grid-template-columns: minmax(0, 525px) minmax(0, 1fr); gap: clamp(32px, 4vw, 64px); align-items: start; }
.ms-hero__copy { padding-top: 8px; }
.ms-hero__copy .ms-eyebrow { margin-bottom: 24px; }
.ms-hero__intro { margin-top: 24px; font-size: 19px; line-height: 1.6; }
.ms-linklist { margin-top: 24px; border-top: 1px solid var(--ms-line); }
.ms-linklist a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 65px;
	padding: 8px 6px;
	border-bottom: 1px solid var(--ms-line);
	color: var(--ms-navy);
	font-size: 18px;
	font-weight: 600;
	line-height: 1.3;
	text-decoration: none;
}
.ms-linklist .ms-icon { flex: none; color: var(--ms-blue); transition: transform .15s; }
.ms-linklist a:hover .ms-icon { transform: translateX(4px); }
.ms-hero__media { position: relative; margin-right: 28px; }
.ms-hero__media::before {
	content: "";
	position: absolute;
	top: 7.5%;
	bottom: 7%;
	right: -28px;
	width: 45%;
	border-radius: var(--ms-radius-xl);
	background: var(--ms-backing);
}
.ms-hero__media img {
	position: relative;
	width: 100%;
	height: 564px;
	object-fit: cover;
	object-position: 30% center;
	border-radius: var(--ms-radius-xl);
}
.ms-hero__badge {
	position: absolute;
	left: -24px;
	bottom: -30px;
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 16px 20px 16px 18px;
	border-radius: 16px;
	background: #fff;
	box-shadow: var(--ms-shadow);
	color: var(--ms-text);
	text-decoration: none;
}
.ms-hero__badge-icon { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 10px; background: var(--ms-blue); color: #fff; }
.ms-hero__badge strong { display: block; color: var(--ms-navy); font-size: 14.5px; line-height: 1.35; }
.ms-hero__badge small { display: block; font-size: 13px; line-height: 1.35; }

/* Services */
.ms-services { padding: 73px 0; background: var(--ms-surface); }
.ms-grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.ms-service { display: flex; flex-direction: column; overflow: hidden; border-radius: 18px; background: #fff; }
.ms-service img { width: 100%; height: 171px; object-fit: cover; }
.ms-service__body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 24px; }
.ms-service__title { margin-bottom: 18px; color: var(--ms-navy); font-size: 21px; font-weight: 700; line-height: 1.28; }
.ms-service .ms-textlink { margin-top: auto; font-size: 14px; }

/* Sections */
.ms-section { padding: 115px 0 0; }
.ms-section--tight { padding-top: 95px; }
.ms-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 496px); gap: 16px 24px; align-items: end; margin-bottom: 36px; }
.ms-head__text { padding-bottom: 8px; font-size: 18px; line-height: 1.6; }

/* Library */
.ms-search {
	display: flex;
	align-items: center;
	gap: 14px;
	max-width: 889px;
	height: 68px;
	padding: 0 24px;
	border: 2px solid var(--ms-navy);
	border-radius: 16px;
	background: #fff;
	color: var(--ms-navy);
}
.ms-search:focus-within { border-color: var(--ms-blue); box-shadow: 0 0 0 3px var(--ms-chip); }
.ms-search .ms-icon { flex: none; }
.ms-search input { flex: 1; min-width: 0; height: 100%; border: 0; background: none; outline: 0; font-size: 18px; }
.ms-search input::placeholder { color: var(--ms-muted); opacity: 1; }
.ms-search input:placeholder-shown { text-overflow: ellipsis; }
.ms-az { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 26px; }
.ms-az__label { margin-right: 8px; color: var(--ms-navy); font-size: 14.5px; font-weight: 700; }
.ms-az__letters { display: contents; }
.ms-az__letter {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border: 1px solid var(--ms-line);
	border-radius: var(--ms-radius-m);
	background: #fff;
	color: var(--ms-navy);
	font-size: 15px;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
}
.ms-az__letter:hover { border-color: var(--ms-blue); color: var(--ms-blue); }
.ms-az__letter.is-active { border-color: var(--ms-blue); background: var(--ms-blue); color: #fff; }
.ms-az__letter.is-disabled { border-color: var(--ms-disabled); background: var(--ms-disabled); color: var(--ms-disabled-text); }
.ms-library { display: grid; grid-template-columns: minmax(0, 584px) minmax(0, 624px); justify-content: space-between; gap: 28px; margin-top: 36px; align-items: start; }
.ms-listhead { margin-bottom: 10px; color: var(--ms-text); font-size: 13px; font-weight: 700; letter-spacing: .12em; line-height: 1.5; text-transform: uppercase; }
.ms-condlist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 18px; border-top: 1px solid var(--ms-line); }
.ms-condlist a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	min-height: 49px;
	padding: 8px 10px;
	border-bottom: 1px solid var(--ms-line);
	color: var(--ms-navy);
	font-size: 16px;
	font-weight: 500;
	line-height: 1.25;
	text-decoration: none;
}
.ms-condlist .ms-icon { flex: none; color: var(--ms-muted); }
.ms-condlist a:hover { color: var(--ms-blue); }
.ms-condlist a.is-active { background: var(--ms-tint); color: var(--ms-blue); }
.ms-condlist__empty { grid-column: 1 / -1; padding: 16px 0; }
.ms-panel { padding: 36px; border-radius: var(--ms-radius-xl); background: var(--ms-surface); }
.ms-panel__title { margin-bottom: 14px; font-size: 40px; line-height: 1.12; }
.ms-panel__title--small { font-size: 30px; }
.ms-panel__text { font-size: 17px; }
.ms-facts { margin: 22px 0 18px; }
.ms-facts > div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-top: 1px solid var(--ms-line); font-size: 15px; line-height: 1.35; }
.ms-facts > div:last-child { border-bottom: 1px solid var(--ms-line); }
.ms-facts dd { color: var(--ms-navy); font-weight: 700; text-align: right; }
.ms-panel__guide { display: block; margin-top: 20px; }
.ms-topics { margin-top: 74px; padding-top: 40px; border-top: 1px solid var(--ms-line); }
.ms-topics__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 32px; margin-top: 20px; }
.ms-topics__list a {
	display: flex;
	align-items: center;
	gap: 22px;
	min-height: 49px;
	padding: 8px 4px;
	border-bottom: 1px solid var(--ms-line);
	color: var(--ms-navy);
	font-size: 16px;
	font-weight: 600;
	line-height: 1.25;
	text-decoration: none;
}
.ms-topics__list a:hover { color: var(--ms-blue); }
.ms-topics__num { flex: none; width: 16px; color: var(--ms-muted); font-size: 12px; font-weight: 500; }

/* Why */
.ms-why__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; padding-bottom: 28px; border-bottom: 2px solid var(--ms-navy); }
.ms-why__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; padding-top: 32px; }
.ms-why__grid p { margin-top: 12px; font-size: 16px; line-height: 1.6; }
.ms-chip { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 26px; border-radius: 13px; background: var(--ms-chip); color: var(--ms-blue); font-size: 16px; font-weight: 700; }

/* Clinics */
.ms-clinics { display: grid; grid-template-columns: minmax(0, 504px) minmax(0, 700px); justify-content: space-between; gap: 32px; align-items: start; }
.ms-cliniclist { border-top: 1px solid var(--ms-line); }
.ms-cliniclist a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: 57.5px;
	padding: 8px 4px;
	border-bottom: 1px solid var(--ms-line);
	color: var(--ms-navy);
	font-size: 19px;
	font-weight: 600;
	line-height: 1.3;
	text-decoration: none;
	transition: padding .15s;
}
.ms-cliniclist .ms-icon { flex: none; color: var(--ms-muted); }
.ms-cliniclist a:hover { color: var(--ms-blue); }
.ms-cliniclist a.is-active { padding-inline: 14px; background: var(--ms-tint); color: var(--ms-blue); }
.ms-cliniclist a.is-active .ms-icon { color: var(--ms-blue); }
.ms-clinicpanel { overflow: hidden; border-radius: var(--ms-radius-xl); background: var(--ms-surface); }
.ms-clinicpanel img { width: 100%; height: 383px; object-fit: cover; object-position: center 25%; }
.ms-clinicpanel__body { padding: 32px 36px 40px; }
.ms-clinicpanel .ms-panel__title { margin-bottom: 12px; font-size: 36px; }
.ms-clinicpanel .ms-actions { margin-top: 20px; }

/* Tests */
.ms-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.ms-pill { min-height: 44px; padding: 8px 18px; border: 1px solid var(--ms-line); border-radius: 22px; background: #fff; color: var(--ms-navy); font-size: 14px; font-weight: 600; cursor: pointer; }
.ms-pill:hover { border-color: var(--ms-navy); }
.ms-pill.is-active { border-color: var(--ms-navy); background: var(--ms-navy); color: #fff; }
.ms-test { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--ms-line); border-radius: 18px; background: #fff; }
.ms-test img { width: 100%; height: 182px; object-fit: cover; object-position: center 25%; background: var(--ms-surface); }
.ms-test__body { display: flex; flex: 1; flex-direction: column; padding: 24px 22px 22px; }
.ms-test__text { margin-top: 8px; margin-bottom: 18px; font-size: 15px; line-height: 1.55; }
.ms-test__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--ms-line); }
.ms-test__price { color: var(--ms-navy); font-size: 15px; }

/* Plans */
.ms-plans__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 32px; margin-bottom: 30px; }
.ms-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--ms-line); }
.ms-tab { display: inline-flex; align-items: center; min-height: 48px; padding: 8px 18px; border-bottom: 2px solid transparent; margin-bottom: -1px; color: var(--ms-text); font-size: 15px; font-weight: 600; text-decoration: none; }
.ms-tab:hover { color: var(--ms-blue); }
.ms-tab.is-active { border-color: var(--ms-blue); color: var(--ms-blue); }
.ms-plans { display: grid; grid-template-columns: minmax(0, 445px) minmax(0, 771px); justify-content: space-between; gap: 20px; }
.ms-plans + .ms-plans { margin-top: 48px; }
.js .ms-plans + .ms-plans { margin-top: 0; }
.js .ms-plans[hidden] { display: none; }
.ms-plans__media { position: relative; min-height: 572px; overflow: hidden; border-radius: var(--ms-radius-xl); background: var(--ms-navy); }
.ms-plans__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.ms-plans__media::after { content: ""; position: absolute; inset: auto 0 0; height: 45%; background: linear-gradient(to top, rgba(11, 11, 47, .78), rgba(11, 11, 47, 0)); }
.ms-plans__media figcaption { position: absolute; left: 30px; right: 30px; bottom: 30px; z-index: 1; color: #fff; font-size: 16px; line-height: 1.5; }
.ms-plans__media strong { display: block; margin-bottom: 6px; font-family: var(--ms-serif); font-size: 32px; font-weight: 400; line-height: 1.15; }
.ms-plans__media span { display: block; }
.ms-planlist { border-top: 1px solid var(--ms-line); }
.ms-planlist a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	min-height: 95px;
	padding: 14px 8px;
	border-bottom: 1px solid var(--ms-line);
	text-decoration: none;
}
.ms-planlist strong { display: block; color: var(--ms-navy); font-size: 19px; font-weight: 700; line-height: 1.35; }
.ms-planlist small { display: block; margin-top: 2px; font-size: 15px; line-height: 1.45; }
.ms-planlist .ms-icon { flex: none; color: var(--ms-blue); transition: transform .15s; }
.ms-planlist a:hover strong { color: var(--ms-blue); }
.ms-planlist a:hover .ms-icon { transform: translateX(4px); }

/* Appointment */
.ms-appt { display: grid; grid-template-columns: 54.2% 45.8%; overflow: hidden; border-radius: var(--ms-radius-xl); background: var(--ms-navy); }
.ms-appt__body { padding: 56px; color: #dcdce8; }
.ms-appt .ms-title { font-size: clamp(32px, 3.6vw, 52px); }
.ms-appt__intro { margin-top: 14px; font-size: 17px; color: #dcdce8; }
.ms-appt__media { position: relative; min-height: 394px; }
.ms-appt__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.ms-apptform { margin-top: 24px; }
.ms-apptform__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 12px; }
.ms-field { display: block; min-width: 0; margin-bottom: 14px; padding: 0; border: 0; }
.ms-apptform__row .ms-field { margin-bottom: 0; }
.ms-field label, .ms-field legend { display: block; padding: 0; margin-bottom: 6px; color: #fff; font-size: 13px; font-weight: 600; line-height: 1.4; }
.ms-field select, .ms-field input, .ms-field textarea {
	display: block;
	width: 100%;
	min-height: 52px;
	padding: 10px 14px;
	border: 1px solid transparent;
	border-radius: var(--ms-radius-m);
	background: #fff;
	color: var(--ms-navy);
	font-size: 15.5px;
}
.ms-field textarea { resize: vertical; line-height: 1.5; }
.ms-toggle__options { display: grid; grid-template-columns: 1fr 1fr; min-height: 52px; padding: 4px; border-radius: var(--ms-radius-m); background: var(--ms-navy-soft); }
.ms-toggle__options label { display: block; position: relative; margin: 0; cursor: pointer; }
.ms-toggle__options input { position: absolute; inset: 0; width: 100%; height: 100%; min-height: 0; margin: 0; opacity: 0; cursor: pointer; }
.ms-toggle__options span { display: grid; place-items: center; height: 100%; min-height: 44px; border-radius: var(--ms-radius-s); color: #fff; font-size: 14px; font-weight: 700; }
.ms-toggle__options input:checked + span { background: #fff; color: var(--ms-navy); }
.ms-toggle__options input:focus-visible + span { outline: 3px solid #8f8cff; outline-offset: 1px; }
.ms-apptform .ms-btn--large { margin-top: 22px; }
.ms-apptform__step[data-appt-step="2"] { margin-top: 22px; }
.js .ms-apptform__step[data-appt-step="2"] { display: none; margin-top: 0; }
.js .ms-apptform.is-step-2 .ms-apptform__step[data-appt-step="1"] { display: none; }
.js .ms-apptform.is-step-2 .ms-apptform__step[data-appt-step="2"] { display: block; }
html:not(.js) [data-appt-next], html:not(.js) [data-appt-back] { display: none; }
.ms-apptform__step[data-appt-step="2"] .ms-apptform__row { margin-bottom: 14px; }
.ms-consent { display: flex; align-items: flex-start; gap: 10px; color: #dcdce8; font-size: 14px; line-height: 1.5; cursor: pointer; }
.ms-consent input { flex: none; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--ms-blue); }
.ms-apptform__step[data-appt-step="2"] .ms-actions .ms-btn--large { margin-top: 18px; }
.ms-apptform__tests { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.ms-apptform__tests li { padding: 4px 12px; border-radius: 14px; background: var(--ms-navy-soft); color: #fff; font-size: 13px; font-weight: 600; }
.ms-notice { margin-top: 18px; padding: 12px 16px; border-radius: var(--ms-radius-m); background: #fff; font-size: 15px; line-height: 1.5; }
.ms-notice--ok { color: var(--ms-ok); }
.ms-notice--error { color: var(--ms-error); }

/* Contact */
.ms-contact { padding-top: 110px; padding-bottom: 96px; }
.ms-contact__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px clamp(32px, 4.6vw, 66px); }
.ms-contact p { margin-top: 12px; margin-bottom: 14px; font-size: 16px; line-height: 1.65; }
.ms-contact a:not(.ms-textlink) { color: var(--ms-blue); font-weight: 600; }
.ms-waitlist { display: none; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
html:not(.js) .ms-waitlist, .ms-waitlist.is-open { display: flex; }
html:not(.js) .ms-linkbutton { display: none; }
.ms-waitlist input[type="email"] { flex: 1 1 180px; min-width: 0; min-height: 44px; padding: 8px 12px; border: 1.5px solid var(--ms-line); border-radius: var(--ms-radius-s); font-size: 15px; }
.ms-waitlist input[type="email"]:focus { border-color: var(--ms-blue); outline: 0; }
.ms-inline-ok { display: flex; align-items: center; gap: 6px; color: var(--ms-ok); font-weight: 600; }
.ms-inline-error { flex-basis: 100%; margin: 0 !important; color: var(--ms-error); font-size: 14px !important; }

/* Footer */
.ms-footer { padding: 66px 0 30px; background: var(--ms-surface); font-size: 15.5px; }
.ms-footer__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.ms-footer__brand img { width: auto; height: 38px; margin-bottom: 18px; }
.ms-footer__brand p { max-width: 270px; line-height: 1.55; }
.ms-footer__title { margin-bottom: 8px; color: var(--ms-navy); font-size: 15.5px; font-weight: 700; line-height: 1.6; }
.ms-footer li { line-height: 1.8; }
.ms-footer li a { text-decoration: none; }
.ms-footer li a:hover { color: var(--ms-blue); text-decoration: underline; }
.ms-footer__legal { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--ms-line); color: var(--ms-muted); font-size: 13.5px; }

/* Basket */
.ms-drawer { position: fixed; inset: 0; z-index: 40; }
.ms-drawer__scrim { position: absolute; inset: 0; background: rgba(11, 11, 47, .45); }
.ms-drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; display: flex; flex-direction: column; width: min(100%, 420px); padding: 24px; background: #fff; box-shadow: var(--ms-shadow); overflow-y: auto; }
.ms-drawer__panel:focus { outline: 0; }
.admin-bar .ms-drawer__panel { top: 32px; }
.ms-drawer__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--ms-line); }
.ms-drawer__title { color: var(--ms-navy); font-family: var(--ms-serif); font-size: 28px; font-weight: 400; line-height: 1.2; }
.ms-drawer__list { flex: 1; margin: 8px 0; }
.ms-drawer__list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--ms-line); }
.ms-drawer__list strong { display: block; color: var(--ms-navy); line-height: 1.35; }
.ms-drawer__list small { display: block; font-size: 14px; }
.ms-drawer__remove { min-height: 44px; padding: 4px 8px; border: 0; background: none; color: var(--ms-blue); font-size: 14px; font-weight: 600; cursor: pointer; }
.ms-drawer__empty { padding: 28px 0; }
.ms-drawer__note { margin-bottom: 14px; font-size: 14.5px; line-height: 1.5; }

/* Inner pages */
.ms-page { padding-top: 64px; padding-bottom: 96px; }
.ms-page__head { padding-bottom: 48px; }
.ms-page__head--media { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.ms-page__lede { margin-top: 18px; margin-bottom: 24px; font-size: 19px; line-height: 1.6; }
.ms-page__image { width: 100%; height: 420px; object-fit: cover; border-radius: var(--ms-radius-xl); }
.ms-prose { max-width: 780px; }
.ms-wrap.ms-prose { width: min(100% - var(--ms-gutter) * 2, 780px); }
.ms-wrap.ms-prose--list { width: min(100% - var(--ms-gutter) * 2, 1000px); max-width: none; }
.ms-prose--list .ms-planlist { margin-top: 28px; }
.ms-prose--list > p { margin-top: 16px; }
.ms-prose--list .ms-actions { margin-top: 24px; }
.ms-prose h2 { margin-top: 36px; margin-bottom: 10px; color: var(--ms-navy); font-size: 24px; font-weight: 700; line-height: 1.3; }
.ms-prose p { margin-bottom: 14px; }
.ms-prose ul, .ms-prose ol { margin-bottom: 16px; padding-left: 22px; }
.ms-prose ul { list-style: disc; }
.ms-prose ol { list-style: decimal; }
.ms-prose .ms-planlist { padding-left: 0; list-style: none; }
.ms-prose a:not(.ms-btn) { color: var(--ms-blue); }
.ms-prose .ms-planlist a { color: inherit; }
.ms-prose--flush h2:first-child { margin-top: 28px; }
.ms-guide { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 380px); gap: clamp(32px, 5vw, 72px); align-items: start; }
.ms-guide__back { display: inline-block; margin-bottom: 28px; }
.ms-guide__note { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--ms-line); color: var(--ms-muted); font-size: 14.5px; line-height: 1.55; }
.ms-guide__aside { position: sticky; top: 24px; padding: 28px; }
.ms-guide__aside .ms-actions { margin-top: 18px; }
.ms-guide__aside .ms-panel__text { margin-bottom: 18px; }

/* Tablet */
@media (max-width: 1180px) {
	.ms-library, .ms-clinics, .ms-plans { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); }
	.ms-grid-4, .ms-topics__list, .ms-why__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ms-hero__media img { height: 500px; }
	.ms-appt__body { padding: 40px; }
	.ms-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
	.ms-section { padding-top: 72px; }
	.ms-section--tight { padding-top: 64px; }
	.ms-contact { padding-top: 72px; padding-bottom: 64px; }
	.ms-hero { padding: 32px 0 72px; }
	.ms-hero__grid, .ms-library, .ms-clinics, .ms-plans, .ms-appt, .ms-head, .ms-guide, .ms-page__head--media { grid-template-columns: minmax(0, 1fr); }
	.ms-hero__media { margin-right: 14px; }
	.ms-hero__media::before { right: -14px; }
	.ms-hero__media img { height: auto; aspect-ratio: 1 / .95; }
	.ms-hero__badge { left: 14px; bottom: -28px; }
	.ms-services { padding: 48px 0; }
	.ms-plans__media { min-height: 420px; }
	.ms-appt__media { min-height: 280px; order: -1; }
	.ms-guide__aside { position: static; }
	.ms-page { padding-top: 36px; padding-bottom: 64px; }
	.ms-page__image { height: auto; aspect-ratio: 3 / 2; }

	.ms-textlink { min-height: 44px; }
	.ms-header::after { display: none; }
	.ms-header { border-bottom: 1px solid var(--ms-line); }
	.ms-header__top { min-height: 68px; }
	.ms-logo img { height: 32px; }
	.ms-header__login, .ms-header__search { display: none; }
	.ms-menu-toggle { display: inline-flex; }
	.ms-header__actions { gap: 2px; }
	.ms-nav { display: none; border-top: 1px solid var(--ms-line); }
	.ms-nav.is-open { display: block; }
	.ms-nav__list { display: block; padding: 6px 0 0; }
	.ms-nav__list a, .ms-nav__login { display: flex; align-items: center; min-height: 48px; color: var(--ms-navy); font-size: 16px; font-weight: 500; text-decoration: none; }
	.ms-nav__login { margin-bottom: 8px; color: var(--ms-blue); font-weight: 700; }
}

/* Phone */
@media (max-width: 600px) {
	body { font-size: 16px; }
	.ms-header__actions .ms-btn { min-height: 44px; padding: 8px 10px; font-size: 13px; }
	.admin-bar .ms-drawer__panel { top: 46px; }
	.ms-logo img { height: 28px; }
	.ms-grid-4, .ms-topics__list, .ms-why__grid, .ms-contact__grid, .ms-footer__grid, .ms-apptform__row { grid-template-columns: minmax(0, 1fr); }
	.ms-condlist { grid-template-columns: minmax(0, 1fr); }
	.ms-topics__list { column-gap: 0; }
	.ms-service img { height: 200px; }
	.ms-test img { height: 220px; }
	.ms-panel { padding: 24px; }
	.ms-panel__title { font-size: 32px; }
	.ms-clinicpanel img { height: 240px; }
	.ms-clinicpanel__body { padding: 24px; }
	.ms-clinicpanel .ms-panel__title { font-size: 30px; }
	.ms-actions .ms-btn { flex: 1 1 100%; }
	.ms-appt__body { padding: 28px 22px; }
	.ms-apptform .ms-btn--large { width: 100%; }
	.ms-search { height: 58px; padding: 0 16px; }
	.ms-search input { font-size: 16px; }
	.ms-az__label { flex-basis: 100%; }
	.ms-az__letter { width: 44px; height: 44px; }
	.ms-tabs { width: 100%; overflow-x: auto; }
	.ms-tab { flex: 1 0 auto; justify-content: center; padding-inline: 12px; }
	.ms-plans__media figcaption { left: 22px; right: 22px; bottom: 22px; }
	.ms-plans__media strong { font-size: 28px; }
	.ms-planlist a { min-height: 84px; }
	.ms-cliniclist a { font-size: 17px; min-height: 52px; }
	.ms-hero__intro { font-size: 17px; }
	.ms-linklist a { font-size: 17px; min-height: 58px; }
	.ms-head__text { font-size: 16.5px; }
	.ms-footer { padding-top: 48px; }
}

@media (max-width: 372px) {
	.ms-header__request-more { display: none; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition: none !important; }
}
