/*
	ElderKeeper landing page: InjuryKeeper's layout (injurykeeper.css) in the app's plum (#d6a2cc, #b27aa6) on a deep
	aubergine background. Scoped to body.elderkeeper. Added 2026-12-01 in rose and wine; plum the same day, because red
	reads as error or bad to a worried family.
*/

body.sleepapp.elderkeeper {
	--sl-ink: #f8f2f7;
	--sl-muted: #dcc6d8;
	--sl-faint: #c4a6bf;
	--sl-metal: #24121f;
	--sl-row: #331a2e;
	--sl-row-hover: #40213a;
	--sl-glass: rgba(36, 14, 32, 0.55);
	--sl-glass-strong: #45233f;
	--sl-glass-hover: #552c4e;
	--sl-line: rgba(236, 200, 230, 0.15);
	--sl-amber: #d6a2cc;          /* the accent: the app's dark-mode plum, which reads on the dark background */
	--sl-amber-deep: #b27aa6;
	--sl-shadow: 0 18px 44px rgba(16, 4, 14, 0.5);
}

body.sleepapp.elderkeeper::before {
	background-image: radial-gradient(1250px 640px at 50% -130px, rgba(180, 110, 170, 0.30), rgba(180, 110, 170, 0) 72%),
		linear-gradient(180deg, #3f1d39 0, #24121f 55%, #190b16 100%);
}

body.elderkeeper .sl-top { background: rgba(36, 14, 32, 0.82); }
body.elderkeeper .sl-footer { background: rgba(24, 8, 21, 0.6); }

body.elderkeeper .sl-icon {
	box-shadow: var(--sl-shadow), 0 0 0 1px rgba(236, 200, 230, 0.22), 0 0 60px rgba(180, 110, 170, 0.3);
}

body.elderkeeper .sl-chip { background: rgba(236, 200, 230, 0.1); }

body.elderkeeper .sl-btn-led {
	background: linear-gradient(180deg, #e6bcdf 0%, var(--sl-amber-deep) 100%);
	color: #2e0d29;
	box-shadow: 0 8px 22px rgba(178, 122, 166, 0.32);
}

body.elderkeeper .sl-btn-led:hover { background: linear-gradient(180deg, #eecbe8 0%, #c38bb8 100%); }

body.elderkeeper .sl-card:hover { border-color: rgba(236, 200, 230, 0.3); }

/* "Coming soon" in place of the App Store badge until the app is released. */
body.elderkeeper .sl-soon {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 14px 24px;
	border-radius: 14px;
	border: 1px solid var(--sl-line);
	background: var(--sl-glass-strong);
	font-size: 17px;
	font-weight: 600;
}

body.elderkeeper .sl-soon span { color: var(--sl-muted); font-weight: 500; }

/* Phone screenshots are tall: narrower slides than the Sleep pages' wide screenshots. */
body.elderkeeper .sl-slide {
	flex: 0 0 min(72vw, 290px);
	padding: 10px;
	border-radius: 30px;
}

body.elderkeeper .sl-slide img { border-radius: 22px; }

/* The hero strip: three phone screens side by side. */
body.elderkeeper .sl-showcase {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	width: min(760px, 94%);
}

body.elderkeeper .sl-eyebrow { text-align: center; }

body.elderkeeper .sl-showcase img {
	height: auto;                 /* the width/height attributes would otherwise stretch the pictures */
	aspect-ratio: 9 / 16;
	object-fit: cover;
	object-position: top;
	border-radius: 26px;
}

/* Three steps showing how the app works. */
body.elderkeeper .sl-steps {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 16px;
	margin: 32px 0 0;
	padding: 0;
	list-style: none;
	counter-reset: step;
}

body.elderkeeper .sl-step {
	position: relative;
	padding: 26px 24px 24px;
	border-radius: var(--sl-radius);
	background: var(--sl-row);
	border: 1px solid var(--sl-line);
	counter-increment: step;
}

body.elderkeeper .sl-step::before {
	content: counter(step);
	display: flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	margin-bottom: 14px;
	border-radius: 50%;
	background: var(--sl-amber);
	color: #2e0d29;
	font-weight: 700;
}

body.elderkeeper .sl-step h3 { font-size: 19px; margin-bottom: 6px; }
body.elderkeeper .sl-step p { color: var(--sl-muted); font-size: 16px; }

body.elderkeeper .sl-note {
	margin-top: 22px;
	padding: 18px 22px;
	border-radius: var(--sl-radius);
	border: 1px solid var(--sl-line);
	background: rgba(24, 8, 21, 0.35);
	color: var(--sl-muted);
	font-size: 15.5px;
}

/* Bold text anywhere on the page: the base site (main.css) makes strong text dark gray-purple (#483949) and not bold, unreadable on the dark background (2026-11-22, InjuryKeeper). */
body.elderkeeper strong, body.elderkeeper b { color: var(--sl-ink); font-weight: 600; }

body.elderkeeper .sl-copy a { text-decoration: underline; text-underline-offset: 3px; }

/* Left-aligned reading text (the site's base style justifies paragraphs, which opens wide gaps in narrow cards). */
body.elderkeeper .sl-card p,
body.elderkeeper .sl-panel p,
body.elderkeeper .sl-step p,
body.elderkeeper .sl-note,
body.elderkeeper .sl-sub { text-align: left; }

body.elderkeeper .sl-lead { text-align: center; }

body.elderkeeper .sl-center .sl-sub { text-align: center; }

/* Heading between the short intro video and the full walkthrough (2026-11-19). */
body.elderkeeper .sl-video-title { font-size: 22px; font-weight: 700; margin-top: 44px; }

/* A chip in the hero that jumps to a section (Apple Intelligence, 2026-11-21). */
body.elderkeeper .sl-chip-link a {
	color: inherit;
	text-decoration: none;
}

body.elderkeeper .sl-chip-link:hover {
	border-color: var(--sl-ink);
}

/* Sample reports (2026-11-22): first-page pictures with View and Download links. */
body.elderkeeper .ek-samples { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 22px; margin-top: 28px; }
body.elderkeeper .ek-sample img { display: block; width: 100%; height: auto; border-radius: 8px; border: 1px solid rgba(236, 200, 230, 0.18); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35); background: #fff; }
body.elderkeeper .ek-sample h3 { margin: 14px 0 6px; font-size: 1.05rem; }
body.elderkeeper .ek-sample p { margin: 0 0 8px; font-size: 0.92rem; text-align: left; hyphens: none; }
body.elderkeeper .ek-sample-links a { font-weight: 600; }
