/* /download-app page (da-*). Shared buttons, callback field, section menu and centres come from service-page-conversion.css. */

.da-page {
	font-family: Poppins, sans-serif;
	color: var(--svc-ink);
}

.da-page [hidden] {
	display: none !important;
}

.da-kicker {
	display: inline-flex;
	margin: 0 0 12px;
	padding: 6px 14px;
	border-radius: 999px;
	background: var(--svc-brand-soft);
	color: var(--svc-brand);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

/* ---------- Hero ---------- */

.da-hero {
	padding: 56px 0 64px;
	background: linear-gradient(120deg, #f3faf7 0%, #fff9f3 100%);
}

.da-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
	align-items: center;
	gap: 48px;
}

.da-hero__title {
	margin: 0 0 14px;
	color: var(--svc-ink);
	font-size: 40px;
	font-weight: 700;
	line-height: 1.2;
}

.da-hero__lead {
	max-width: 560px;
	margin: 0 0 24px;
	color: var(--svc-text);
	font-size: 17px;
	line-height: 1.7;
}

.da-stores {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	margin-bottom: 22px;
}

.da-store {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-width: 172px;
	height: 54px;
	padding: 0 18px 0 14px;
	border: 1.5px solid #111;
	border-radius: 12px;
	background: #111;
	color: #fff;
	text-decoration: none;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.da-store:hover,
.da-store:focus {
	color: #fff;
	text-decoration: none;
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

.da-store svg {
	flex: 0 0 22px;
}

.da-store__text {
	display: flex;
	flex-direction: column;
	line-height: 1.1;
	text-align: left;
}

.da-store__text small {
	font-size: 10px;
	font-weight: 500;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	opacity: 0.85;
}

.da-store__text strong {
	font-size: 17px;
	font-weight: 600;
}

.da-store--soon {
	border-style: dashed;
	border-color: rgba(4, 100, 97, 0.45);
	background: #fff;
	color: var(--svc-brand);
	cursor: default;
}

.da-store--soon svg {
	filter: grayscale(1);
	opacity: 0.55;
}

.da-callback__label {
	flex-basis: 100%;
	margin: 0 0 2px;
	color: var(--svc-ink);
	font-size: 14px;
	font-weight: 500;
}

.da-sendlink__status {
	flex-basis: 100%;
	margin: 0;
	color: var(--svc-brand);
	font-size: 14px;
	font-weight: 500;
}

.da-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.da-hero__visual {
	display: flex;
	justify-content: center;
	min-width: 0;
}

/* ---------- App screenshots ---------- */

.da-phone {
	padding: 10px;
	border-radius: 34px;
	background: #1f2d2c;
	box-shadow: 0 24px 60px rgba(4, 70, 68, 0.25);
}

.da-phone img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 25px;
}

.da-shot {
	display: block;
	height: auto;
	border-radius: 24px;
	background: #fdf0e4;
	box-shadow: 0 24px 60px rgba(4, 70, 68, 0.22);
}

.da-shots {
	position: relative;
	display: flex;
	align-items: flex-end;
	padding-right: 96px;
}

.da-shots__front {
	position: relative;
	z-index: 2;
	width: 260px;
}

.da-shots__back {
	position: absolute;
	right: 0;
	bottom: 36px;
	z-index: 1;
	width: 220px;
	transform: rotate(4deg);
	transform-origin: bottom left;
}

/* Screenshots carry centered headlines, so the pair sits side by side instead of overlapping */
.da-shots--pair {
	align-items: flex-start;
	gap: 18px;
	width: 100%;
	max-width: 470px;
	padding: 0 0 48px;
}

.da-shots--pair .da-shot {
	flex: 1 1 0;
	min-width: 0;
	width: auto;
}

.da-shots--pair .da-shots__front {
	transform: rotate(-2deg);
}

.da-shots--pair .da-shots__back {
	position: relative;
	right: auto;
	bottom: auto;
	margin-top: 48px;
	transform: rotate(2deg);
	transform-origin: center;
}

/* ---------- Sections ---------- */

.da-section {
	padding: 72px 0;
}

.da-section--soft {
	background: #fff9f3;
}

#patient-app {
	padding-bottom: 24px;
}

.da-head {
	max-width: 720px;
	margin: 0 auto 36px;
	text-align: center;
}

.da-head h2 {
	margin: 0;
	color: var(--svc-ink);
	font-size: 32px;
	font-weight: 600;
	line-height: 1.25;
}

.da-head p:not(.da-kicker) {
	margin: 12px 0 0;
	color: var(--svc-text);
	font-size: 16px;
	line-height: 1.7;
}

.da-group {
	margin: 0 0 20px;
}

.da-group__title {
	margin: 0 0 6px;
	color: var(--svc-ink);
	font-size: 22px;
	font-weight: 600;
}

.da-group__text {
	max-width: 680px;
	margin: 0;
	color: var(--svc-text);
	font-size: 15px;
	line-height: 1.65;
}

.da-records-panel {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.7fr);
	gap: 40px;
	align-items: center;
	margin: 0 0 56px;
	padding: 40px;
	overflow: hidden;
	border: 1px solid var(--svc-line);
	border-radius: 24px;
	background: linear-gradient(135deg, #eef7f6 0%, #f8fbfb 55%, #fff 100%);
}

.da-records-panel::before {
	position: absolute;
	top: -90px;
	left: -90px;
	width: 260px;
	height: 260px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(4, 100, 97, 0.1) 0%, rgba(4, 100, 97, 0) 70%);
	content: "";
	pointer-events: none;
}

.da-records-panel__intro {
	position: relative;
	margin: 0;
}

.da-records-panel__badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	margin-bottom: 18px;
	border-radius: 16px;
	background: var(--svc-brand);
	box-shadow: 0 12px 24px rgba(4, 100, 97, 0.25);
	color: #fff;
}

.da-records-panel__intro .da-group__title {
	margin-bottom: 10px;
	font-size: 26px;
	line-height: 1.25;
}

.da-records {
	position: relative;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.da-record {
	--da-tone: var(--svc-brand);
	--da-tone-soft: var(--svc-brand-soft);
	display: flex;
	gap: 16px;
	align-items: flex-start;
	padding: 20px;
	border: 1px solid var(--svc-line);
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 4px 14px rgba(4, 70, 68, 0.05);
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.da-record:hover {
	border-color: var(--da-tone-soft);
	box-shadow: 0 14px 30px rgba(4, 70, 68, 0.1);
	transform: translateY(-3px);
}

.da-record--reports {
	--da-tone: #d9541e;
	--da-tone-soft: #fdeee5;
}

.da-record--bills {
	--da-tone: #b26b00;
	--da-tone-soft: #fdf2dc;
}

.da-record--cycles {
	--da-tone: #2d6bb0;
	--da-tone-soft: #e8f0fa;
}

.da-record__icon {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border-radius: 14px;
	background: var(--da-tone-soft);
	color: var(--da-tone);
}

.da-record__body {
	min-width: 0;
	padding-top: 2px;
}

@media (prefers-reduced-motion: reduce) {
	.da-record {
		transition: none;
	}

	.da-record:hover {
		transform: none;
	}
}

.da-record h4,
.da-feature h4 {
	margin: 0 0 6px;
	color: var(--svc-ink);
	font-size: 16px;
	font-weight: 600;
	line-height: 1.35;
}

.da-record p,
.da-feature p {
	margin: 0;
	color: var(--svc-text);
	font-size: 14px;
	line-height: 1.6;
}

.da-features {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
	margin: 0 0 32px;
	padding: 0;
	list-style: none;
}

.da-feature {
	padding: 12px 12px 18px;
	border: 1px solid var(--svc-line);
	border-radius: var(--svc-radius);
	background: #fff;
	box-shadow: 0 10px 30px rgba(4, 70, 68, 0.05);
}

.da-feature img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 5;
	margin-bottom: 14px;
	border-radius: 12px;
	background: #fdf0e4;
}

.da-feature img {
	object-fit: cover;
	object-position: bottom;
}

.da-feature h4,
.da-feature p {
	padding: 0 6px;
}

.da-band {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 8px 24px;
	text-align: center;
}

.da-band .da-stores {
	margin-bottom: 0;
}

.da-note {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
	margin-top: 40px;
}

.da-note > div {
	padding: 20px 22px;
	border-radius: var(--svc-radius);
	background: var(--svc-tint);
}

.da-note > div + div {
	background: #fff6ef;
}

.da-note h3 {
	margin: 0 0 6px;
	font-size: 16px;
	font-weight: 600;
}

.da-note p {
	margin: 0;
	color: var(--svc-text);
	font-size: 14px;
	line-height: 1.65;
}

.da-note a {
	color: var(--svc-brand);
	font-weight: 600;
	white-space: nowrap;
}

/* ---------- Doctor app ---------- */

.da-doctor {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
	align-items: center;
	gap: 48px;
}

.da-doctor__copy h2 {
	margin: 0 0 10px;
	font-size: 32px;
	font-weight: 600;
}

.da-doctor__copy > p:not(.da-kicker) {
	margin: 0 0 20px;
	color: var(--svc-text);
	font-size: 16px;
	line-height: 1.7;
}

.da-checks {
	display: grid;
	gap: 14px;
	margin: 0 0 24px;
	padding: 0;
	list-style: none;
}

.da-checks li {
	position: relative;
	padding-left: 32px;
}

.da-checks li::before {
	content: "";
	position: absolute;
	top: 3px;
	left: 0;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: var(--svc-brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-6.5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat;
}

.da-checks strong {
	display: block;
	font-size: 15px;
	font-weight: 600;
}

.da-checks span {
	color: var(--svc-text);
	font-size: 14px;
	line-height: 1.6;
}

.da-doctor__note {
	margin: 0 0 20px;
	color: var(--svc-text);
	font-size: 13px;
	line-height: 1.6;
}

.da-doctor__visual {
	display: flex;
	justify-content: center;
	margin: 0;
}

/* ---------- Get it on your phone ---------- */

.da-phone-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
	align-items: stretch;
	gap: 24px;
	max-width: 820px;
	margin: 0 auto;
}

.da-qr,
.da-sendlink {
	padding: 24px;
	border: 1px solid var(--svc-line);
	border-radius: var(--svc-radius);
	background: #fff;
	text-align: center;
}

.da-qr img {
	display: block;
	width: 160px;
	height: 160px;
	margin: 0 auto 14px;
}

.da-qr h3,
.da-sendlink h3 {
	margin: 0 0 4px;
	font-size: 17px;
	font-weight: 600;
}

.da-qr p {
	margin: 0;
	color: var(--svc-text);
	font-size: 14px;
}

.da-sendlink {
	display: flex;
	flex-direction: column;
	justify-content: center;
	max-width: none;
	text-align: left;
}

.da-sendlink h3 {
	margin-bottom: 4px;
}

.da-sendlink .svc-callback__field {
	flex: 0 0 auto;
}

.da-sendlink .svc-btn {
	width: 100%;
	min-height: 50px;
}

.da-sendlink .svc-callback__error {
	flex-basis: auto;
}

/* ---------- FAQ ---------- */

.da-faq {
	max-width: 820px;
}

.da-faq details {
	margin-bottom: 12px;
	border: 1px solid var(--svc-line);
	border-radius: 14px;
	background: #fff;
}

.da-faq summary {
	position: relative;
	padding: 16px 52px 16px 20px;
	font-size: 16px;
	font-weight: 600;
	list-style: none;
	cursor: pointer;
}

.da-faq summary::-webkit-details-marker {
	display: none;
}

.da-faq summary::after {
	content: "+";
	position: absolute;
	top: 50%;
	right: 20px;
	color: var(--svc-brand);
	font-size: 24px;
	font-weight: 400;
	line-height: 1;
	transform: translateY(-50%);
}

.da-faq details[open] summary::after {
	content: "\2212";
}

.da-faq details p {
	margin: 0;
	padding: 0 20px 18px;
	color: var(--svc-text);
	font-size: 15px;
	line-height: 1.7;
}

/* ---------- Mobile sticky bar (sits above the global quick-action bar) ---------- */

.da-sticky {
	display: none;
}

@media (max-width: 991px) {
	.da-hero__grid,
	.da-doctor {
		grid-template-columns: 1fr;
	}

	.da-doctor__visual {
		display: none;
	}

	.da-records-panel {
		grid-template-columns: 1fr;
		gap: 28px;
		padding: 32px;
	}

	.da-features {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

}

@media (max-width: 767px) {
	.da-hero {
		padding: 32px 0 40px;
	}

	.da-kicker {
		font-size: 11px;
		letter-spacing: 0.06em;
	}

	.da-hero__title {
		font-size: 28px;
	}

	.da-hero__lead {
		margin-bottom: 20px;
		font-size: 15px;
	}

	.da-stores {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 10px;
	}

	.da-store {
		min-width: 0;
		height: 52px;
		padding: 0 10px;
		justify-content: center;
	}

	.da-store__text small {
		font-size: 9px;
	}

	.da-store__text strong {
		font-size: 15px;
	}

	.da-callback .svc-btn,
	.da-actions .svc-btn {
		flex: 1 1 100%;
		width: 100%;
		min-height: 50px;
	}

	.da-section {
		padding: 48px 0;
	}

	#patient-app {
		padding-bottom: 12px;
	}

	.da-head {
		margin-bottom: 24px;
	}

	.da-head h2,
	.da-doctor__copy h2 {
		font-size: 24px;
	}

	.da-features {
		display: flex;
		gap: 12px;
		margin: 0 -15px 24px;
		padding: 4px 15px 12px;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		scroll-padding: 0 15px;
		scrollbar-width: none;
		-webkit-overflow-scrolling: touch;
	}

	.da-features::-webkit-scrollbar {
		display: none;
	}

	.da-feature {
		flex: 0 0 64%;
		padding: 10px 10px 16px;
		scroll-snap-align: start;
	}

	.da-feature img {
		margin-bottom: 12px;
	}

	.da-group__title {
		font-size: 19px;
	}

	.da-group__text {
		font-size: 14px;
	}

	.da-records-panel {
		gap: 20px;
		margin: 0 -4px 40px;
		padding: 24px 16px 16px;
		border-radius: 20px;
	}

	.da-records-panel__badge {
		width: 48px;
		height: 48px;
		margin-bottom: 14px;
		border-radius: 14px;
	}

	.da-records-panel__intro .da-group__title {
		font-size: 21px;
	}

	.da-records {
		grid-template-columns: 1fr;
		gap: 10px;
	}

	.da-record {
		gap: 14px;
		padding: 16px 14px;
	}

	.da-record__icon {
		width: 44px;
		height: 44px;
		border-radius: 12px;
	}

	.da-record h4 {
		margin-bottom: 4px;
		font-size: 15px;
	}

	.da-record p {
		font-size: 14px;
		line-height: 1.55;
	}

	.da-hero__visual {
		margin-top: 8px;
	}

	.da-shots {
		padding-right: 72px;
	}

	.da-shots__front {
		width: 190px;
	}

	.da-shots__back {
		bottom: 26px;
		width: 160px;
	}

	.da-shots--pair {
		max-width: 360px;
		gap: 12px;
		padding: 0 0 28px;
	}

	.da-shots--pair .da-shot {
		width: auto;
		border-radius: 16px;
	}

	.da-shots--pair .da-shots__back {
		margin-top: 28px;
	}

	.da-phone {
		padding: 7px;
		border-radius: 26px;
	}

	.da-phone img {
		border-radius: 20px;
	}

	.da-band {
		flex-direction: column;
	}

	.da-band .da-stores {
		width: 100%;
	}

	.da-note {
		grid-template-columns: 1fr;
		margin-top: 28px;
	}

	#get-on-phone,
	.svc-nav__list li:has(a[href="#get-on-phone"]) {
		display: none;
	}

	.da-page .svc-centre__media {
		aspect-ratio: auto;
		height: 140px;
		overflow: hidden;
	}

	.da-sticky:not([hidden]) {
		position: fixed;
		left: 12px;
		right: 12px;
		bottom: calc(84px + env(safe-area-inset-bottom, 0px));
		z-index: 1030;
		display: flex;
		gap: 8px;
		padding: 8px;
		border-radius: 16px;
		background: #fff;
		box-shadow: 0 10px 30px rgba(4, 70, 68, 0.2);
	}

	.da-sticky .svc-btn {
		flex: 1;
	}

	body.modal-open .da-sticky {
		display: none !important;
	}

	body.da-sticky-visible .zc-root {
		--zc-bottom: calc(162px + env(safe-area-inset-bottom, 0px));
	}
}
