/*
	Promesas landing
	Keeps the Dimension look (sunset background, Source Sans Pro,
	uppercase letter-spaced UI, outlined buttons) in a scrolling layout.
*/

:root {
	--text: #ffffff;
	--text-soft: rgba(255, 255, 255, 0.82);
	--text-muted: rgba(255, 255, 255, 0.6);
	--ink: #1b1f22;
	--panel: rgba(27, 31, 34, 0.55);
	--panel-strong: rgba(27, 31, 34, 0.8);
	--line: rgba(255, 255, 255, 0.35);
	--line-soft: rgba(255, 255, 255, 0.15);
	--accent: #ffb070;
	--radius: 14px;
	--max: 1120px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 5rem; }

body {
	margin: 0;
	background: #1b1f22;
	color: var(--text);
	font-family: "Source Sans Pro", sans-serif;
	font-weight: 300;
	font-size: 17px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 { font-weight: 600; line-height: 1.15; margin: 0; }

p { margin: 0; }

ul { margin: 0; padding: 0; list-style: none; }

.container {
	width: 100%;
	max-width: var(--max);
	margin: 0 auto;
	padding: 0 1.5rem;
}

.container.narrow { max-width: 820px; }

/* Background (same image + overlay as before, fixed behind the page) */

	#bg {
		position: fixed;
		inset: 0;
		z-index: -1;
		background-image:
			linear-gradient(to bottom, rgba(12, 14, 18, 0.45), rgba(12, 14, 18, 0.7)),
			url("../../images/overlay.png"),
			url("../../images/bg.webp");
		background-size: auto, 256px 256px, cover;
		background-repeat: no-repeat, repeat, no-repeat;
		background-position: center;
	}

/* Buttons (Dimension style) */

	.button {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		gap: 0.6rem;
		height: 2.75rem;
		padding: 0 1.4rem;
		border-radius: 4px;
		box-shadow: inset 0 0 0 1px var(--text);
		background: transparent;
		color: var(--text);
		font-weight: 600;
		font-size: 0.8rem;
		letter-spacing: 0.2rem;
		text-transform: uppercase;
		white-space: nowrap;
		cursor: pointer;
		transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
	}

	.button:hover { background-color: rgba(255, 255, 255, 0.08); }

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

	.button.primary:hover { background: rgba(255, 255, 255, 0.88); transform: translateY(-1px); }

	.button.small { height: 2.25rem; padding: 0 1rem; font-size: 0.7rem; letter-spacing: 0.15rem; }

	.button.large { height: 3.25rem; padding: 0 1.8rem; font-size: 0.85rem; }

	.store-badge { display: inline-block; transition: transform 0.2s ease; }

	.store-badge:hover { transform: translateY(-1px); }

	.store-badge img { width: auto; height: 3.5rem; }

	.icon { width: 1em; height: 1em; fill: currentColor; flex: none; }

	.pro-tag {
		display: inline-block;
		margin-left: 0.3rem;
		padding: 0 0.45rem;
		border-radius: 4px;
		background: var(--accent);
		color: var(--ink);
		font-size: 0.65rem;
		font-weight: 600;
		line-height: 1.5;
		letter-spacing: 0.08rem;
		text-transform: uppercase;
		vertical-align: middle;
	}

	.actions { display: flex; flex-wrap: wrap; gap: 1rem; }

	.actions.center { justify-content: center; }

	.get-app { align-items: center; gap: 1.5rem; list-style: none; padding: 0; }

	.get-app.stacked { flex-direction: column; }

	.get-app .store-badge { vertical-align: middle; }

	.get-app .store-badge img { height: 2.5rem; }

	.qr img { display: block; width: 8rem; height: 8rem; margin: 0 auto; border-radius: 8px; background: #fff; }

	.get-app.stacked .qr img { width: 11rem; height: 11rem; }

	.get-app.stacked .qr p { margin: 0.75rem 0 0; font-size: 0.9rem; }

	/* A phone can't scan its own screen, so the badge takes over */
	@media (max-width: 1180px) {
		.nav-links { gap: 1.25rem; }
	}

	@media (max-width: 980px) {
		.qr { display: none; }

		.get-app .store-badge img { height: 3.5rem; }
	}

/* Nav */

	.nav {
		position: sticky;
		top: 0;
		z-index: 10;
		transition: background-color 0.3s ease, box-shadow 0.3s ease;
	}

	.nav.is-scrolled {
		background: rgba(19, 21, 25, 0.75);
		backdrop-filter: blur(12px);
		-webkit-backdrop-filter: blur(12px);
		box-shadow: 0 1px 0 var(--line-soft);
	}

	.nav-inner {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 1.5rem;
		height: 4.5rem;
	}

	.brand {
		display: inline-flex;
		align-items: center;
		gap: 0.6rem;
		font-weight: 600;
		letter-spacing: 0.2rem;
		text-transform: uppercase;
	}

	.brand img { width: 2.4rem; height: 2.4rem; }

	.nav-links { display: flex; gap: 2rem; }

	.nav-links a {
		white-space: nowrap;
		font-size: 0.75rem;
		font-weight: 600;
		letter-spacing: 0.2rem;
		text-transform: uppercase;
		opacity: 0.85;
		transition: opacity 0.2s ease;
	}

	.nav-links a:hover { opacity: 1; }

	.nav-actions { display: flex; align-items: center; gap: 1rem; }

	/* Language dropdown: "EN ⌄" opens a small menu */
	.lang-switch { position: relative; }

	.lang-switch summary {
		display: inline-flex;
		align-items: center;
		gap: 0.45rem;
		height: 2.25rem;
		padding: 0 0.5rem;
		border-radius: 8px;
		list-style: none;
		cursor: pointer;
		font-size: 0.75rem;
		font-weight: 600;
		letter-spacing: 0.15rem;
		opacity: 0.85;
		transition: opacity 0.2s ease, background-color 0.2s ease;
	}

	.lang-switch summary::-webkit-details-marker { display: none; }

	.lang-switch summary:hover, .lang-switch[open] summary { opacity: 1; background: rgba(255, 255, 255, 0.08); }

	.lang-switch summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

	.lang-chevron { width: 0.6rem; height: 0.4rem; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.2s ease; }

	.lang-switch[open] .lang-chevron { transform: rotate(180deg); }

	.lang-menu {
		position: absolute;
		top: calc(100% + 0.5rem);
		right: 0;
		z-index: 20;
		min-width: 9rem;
		padding: 0.35rem;
		border-radius: 12px;
		background: rgba(19, 21, 25, 0.96);
		border: 1px solid var(--line-soft);
		box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
	}

	.lang-menu a {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 1rem;
		padding: 0.5rem 0.75rem;
		border-radius: 8px;
		font-size: 0.95rem;
		color: var(--text-soft);
	}

	.lang-menu a:hover { background: rgba(255, 255, 255, 0.08); color: var(--text); }

	.lang-menu a[aria-current] { color: var(--text); font-weight: 600; }

	.lang-menu a[aria-current]::after { content: "✓"; color: var(--accent); font-size: 0.85rem; }

	.visually-hidden {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0 0 0 0);
		white-space: nowrap;
	}

/* Hero */

	.hero { padding: 3rem 0 4rem; }

	.hero-inner {
		display: grid;
		grid-template-columns: 1.05fr 0.95fr;
		align-items: center;
		gap: 3rem;
	}

	.hero-title {
		font-size: clamp(2.8rem, 6vw, 4.75rem);
		line-height: 1.05;
		letter-spacing: -0.01em;
		margin-bottom: 1.5rem;
	}

	.hl {
		display: inline-block;
		padding: 0 0.3em 0.06em;
		margin: 0.08em 0;
		border-radius: 0.18em;
		background: var(--text);
		color: var(--ink);
	}

	.hero-subtitle {
		max-width: 32rem;
		font-size: 1.15rem;
		color: var(--text-soft);
		margin-bottom: 2rem;
	}

	.hero-note {
		margin-top: 1.25rem;
		font-size: 0.85rem;
		color: var(--text-muted);
	}

	.hero-media {
		position: relative;
		display: flex;
		justify-content: center;
		min-height: 520px;
	}

	.phone { height: auto; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.35)); }

	.hero-media .phone { position: absolute; width: 250px; }

	.hero-media .phone-front { left: 50%; top: 0; transform: translateX(-75%) rotate(-4deg); z-index: 2; }

	.hero-media .phone-back { left: 50%; top: 40px; transform: translateX(-15%) rotate(5deg); opacity: 0.95; }

/* Verse marquee */

	.marquee {
		overflow: hidden;
		padding: 1rem 0 2rem;
		-webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
		mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
	}

	.marquee-track {
		display: flex;
		gap: 1.25rem;
		width: max-content;
		animation: marquee 60s linear infinite;
	}

	.marquee:hover .marquee-track { animation-play-state: paused; }

	@keyframes marquee {
		to { transform: translateX(calc(-50% - 0.625rem)); }
	}

	.quote {
		margin: 0;
		width: 300px;
		padding: 1.4rem 1.5rem;
		border-radius: var(--radius);
		background: var(--panel);
		border: 1px solid var(--line-soft);
		backdrop-filter: blur(6px);
		-webkit-backdrop-filter: blur(6px);
	}

	.quote blockquote { margin: 0 0 0.9rem; font-style: italic; color: var(--text-soft); }

	.quote figcaption {
		font-size: 0.7rem;
		font-weight: 600;
		letter-spacing: 0.2rem;
		text-transform: uppercase;
	}

/* Sections */

	.section { padding: 5rem 0; }

	.section-title {
		text-align: center;
		font-size: clamp(1.8rem, 3.5vw, 2.6rem);
		margin-bottom: 3rem;
	}

	.eyebrow {
		display: inline-block;
		margin-bottom: 0.9rem;
		font-size: 0.75rem;
		font-weight: 600;
		letter-spacing: 0.25rem;
		text-transform: uppercase;
		color: var(--accent);
	}

/* Feature cards */

	.grid {
		display: grid;
		grid-template-columns: repeat(4, 1fr);
		gap: 1.25rem;
	}

	.card {
		padding: 2rem 1.5rem;
		border-radius: var(--radius);
		background: var(--panel);
		border: 1px solid var(--line-soft);
		transition: transform 0.25s ease, border-color 0.25s ease;
	}

	.card:hover { transform: translateY(-4px); border-color: var(--line); }

	.card-icon {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 3rem;
		height: 3rem;
		margin-bottom: 1.25rem;
		border-radius: 50%;
		border: 1px solid var(--text);
		font-size: 1.1rem;
	}

	.card h3 { font-size: 1.15rem; margin-bottom: 0.6rem; }

	.card p { color: var(--text-soft); font-size: 0.98rem; }

/* Alternating feature rows */

	.feature-row {
		display: grid;
		grid-template-columns: 1fr 1fr;
		align-items: center;
		gap: 4rem;
	}

	.feature-row + .feature-row { margin-top: 6rem; }

	.feature-row.reverse .feature-media { order: 2; }

	.feature-media {
		display: flex;
		justify-content: center;
		padding: 2.5rem;
		background: radial-gradient(closest-side, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0));
	}

	.feature-media .phone { width: 260px; }

	.feature-media.pair { gap: 1rem; align-items: flex-start; }

	.feature-media.pair .phone { width: 220px; height: auto; }

	.feature-copy h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); margin-bottom: 1.1rem; }

	.feature-copy p { color: var(--text-soft); font-size: 1.1rem; margin-bottom: 1.5rem; }

	.checks li { display: flex; gap: 0.75rem; align-items: baseline; padding: 0.35rem 0; }

	.checks .icon { color: var(--accent); font-size: 0.85rem; }

/* Topics band */

	.band {
		text-align: center;
		padding: 3.5rem 2rem;
		border-radius: 24px;
		background: var(--panel-strong);
		border: 1px solid var(--line-soft);
	}

	.band h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin-bottom: 0.6rem; }

	.band p { color: var(--text-soft); margin-bottom: 2rem; }

	.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; }

	.chips li {
		padding: 0.55rem 1.25rem;
		border-radius: 999px;
		box-shadow: inset 0 0 0 1px var(--line);
		font-size: 0.75rem;
		font-weight: 600;
		letter-spacing: 0.2rem;
		text-transform: uppercase;
	}

/* FAQ */

	.faq details { border-bottom: 1px solid var(--line-soft); }

	.faq details:first-child { border-top: 1px solid var(--line-soft); }

	.faq summary {
		display: flex;
		justify-content: space-between;
		align-items: center;
		gap: 1rem;
		padding: 1.3rem 0.25rem;
		font-weight: 600;
		font-size: 1.1rem;
		cursor: pointer;
		list-style: none;
	}

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

	.faq summary::after {
		content: "+";
		font-size: 1.5rem;
		font-weight: 300;
		line-height: 1;
		transition: transform 0.2s ease;
	}

	.faq details[open] summary::after { transform: rotate(45deg); }

	.faq details p { padding: 0 0.25rem 1.4rem; color: var(--text-soft); }

	.faq a { border-bottom: 1px dotted var(--text); }

/* Final CTA */

	.cta { text-align: center; }

	.cta-logo { width: 5rem; height: 5rem; margin: 0 auto 1.5rem; }

	.cta h2 { font-size: clamp(2.2rem, 5vw, 3.5rem); margin-bottom: 0.75rem; }

	.cta p { color: var(--text-soft); font-size: 1.15rem; margin-bottom: 2rem; }

/* Footer */

	.footer {
		background: rgba(19, 21, 25, 0.8);
		border-top: 1px solid var(--line-soft);
		padding-top: 3.5rem;
	}

	.footer-inner {
		display: grid;
		grid-template-columns: 2fr 1fr 1fr;
		gap: 2rem;
		padding-bottom: 2.5rem;
	}

	.footer-brand p { margin-top: 0.75rem; color: var(--text-muted); }

	.footer-col { display: flex; flex-direction: column; gap: 0.6rem; }

	.footer-col h4 {
		font-size: 0.75rem;
		letter-spacing: 0.2rem;
		text-transform: uppercase;
		margin-bottom: 0.4rem;
	}

	.footer-col a { color: var(--text-soft); }

	.footer-col a:hover { color: var(--text); }

	.footer-bottom {
		padding-top: 1.25rem;
		padding-bottom: 1.5rem;
		border-top: 1px solid var(--line-soft);
		font-size: 0.75rem;
		letter-spacing: 0.15rem;
		text-transform: uppercase;
		color: var(--text-muted);
	}

/* Legal page */

	.legal { padding: 3rem 0 5rem; }

	.legal-card {
		padding: 3rem 2.5rem;
		border-radius: var(--radius);
		background: var(--panel-strong);
		border: 1px solid var(--line-soft);
	}

	.legal h1 {
		font-size: 1.6rem;
		letter-spacing: 0.4rem;
		text-transform: uppercase;
		padding-bottom: 0.75rem;
		margin-bottom: 1.5rem;
		border-bottom: 1px solid var(--text);
		display: inline-block;
	}

	.legal h3 { font-size: 1.05rem; letter-spacing: 0.1rem; text-transform: uppercase; margin: 2rem 0 0.6rem; }

	.legal p, .legal li { color: var(--text-soft); }

	.legal p + p { margin-top: 1rem; }

	.legal ul { list-style: disc; padding-left: 1.4rem; margin-top: 0.6rem; }

	.legal li { padding: 0.2rem 0; }

	.legal strong { color: var(--text); font-weight: 600; }

/* Bible verse topic pages (/bible-verses) */

	.chips a { display: block; margin: -0.55rem -1.25rem; padding: 0.55rem 1.25rem; border-radius: 999px; }

	.chips a:hover { background: rgba(255, 255, 255, 0.1); }

	.topic-hero { padding: 3rem 0 0; text-align: center; }

	.topic-hero h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); margin-bottom: 1rem; }

	.crumbs {
		margin-bottom: 1.5rem;
		font-size: 0.7rem;
		font-weight: 600;
		letter-spacing: 0.2rem;
		text-transform: uppercase;
		color: var(--text-muted);
	}

	.crumbs a { color: var(--text-soft); }

	.crumbs a:hover { color: var(--text); }

	.topic-intro { max-width: 40rem; margin: 0 auto; color: var(--text-soft); font-size: 1.15rem; }

	.topic-verses { padding-top: 3rem; }

	/* One verse at a time, swiped or stepped like the app's carousel */
	.verse-carousel { margin-bottom: 3rem; }

	.verse-track {
		display: flex;
		margin: 0;
		padding: 0;
		list-style: none;
		overflow-x: auto;
		overscroll-behavior-x: contain;
		scroll-snap-type: x mandatory;
		scrollbar-width: none;
		border-radius: var(--radius);
	}

	.verse-track::-webkit-scrollbar { display: none; }

	.verse-track:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

	.verse-slide { flex: 0 0 100%; display: flex; padding: 0 0.25rem; scroll-snap-align: center; scroll-snap-stop: always; }

	.verse {
		display: flex;
		flex-direction: column;
		width: 100%;
		min-height: 20rem;
		margin: 0;
		padding: 2.5rem 2.25rem 1.6rem;
		border-radius: var(--radius);
		background: var(--panel-strong);
		border: 1px solid var(--line-soft);
	}

	.verse blockquote {
		flex: 1;
		display: flex;
		align-items: center;
		justify-content: center;
		margin: 0 0 1.5rem;
		text-align: center;
		font-size: clamp(1.3rem, 3vw, 1.75rem);
		font-weight: 400;
		font-style: italic;
		line-height: 1.45;
		color: var(--text);
	}

	.carousel-controls { display: flex; justify-content: center; align-items: center; gap: 1.25rem; margin-top: 1.25rem; }

	.carousel-controls[hidden] { display: none; }

	.carousel-button {
		width: 2.75rem;
		height: 2.75rem;
		border: 0;
		border-radius: 50%;
		background: transparent;
		box-shadow: inset 0 0 0 1px var(--line);
		color: var(--text);
		font: inherit;
		font-size: 1.5rem;
		line-height: 1;
		cursor: pointer;
		transition: background-color 0.2s ease, opacity 0.2s ease;
	}

	.carousel-button:hover:not(:disabled) { background: rgba(255, 255, 255, 0.1); }

	.carousel-button:disabled { opacity: 0.35; cursor: default; }

	.carousel-count { min-width: 4rem; text-align: center; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.2rem; color: var(--text-soft); }

	.verse figcaption {
		display: flex;
		gap: 0.75rem;
		align-items: baseline;
		font-size: 0.75rem;
		font-weight: 600;
		letter-spacing: 0.2rem;
		text-transform: uppercase;
	}

	.verse abbr { text-decoration: none; color: var(--text-muted); font-size: 0.65rem; }

	.topic-more p { max-width: 36rem; margin-left: auto; margin-right: auto; }

	.topic-related { padding-top: 0; }

	.topic-index { padding-top: 3rem; }

	.topic-grid { grid-template-columns: repeat(3, 1fr); }

	.topic-card { display: flex; flex-direction: column; height: 100%; }

	.topic-card h2 { font-size: 1.2rem; margin-bottom: 0.6rem; }

	.topic-card p { color: var(--text-soft); font-size: 0.98rem; margin-bottom: 1.25rem; flex: 1; }

	.topic-card .eyebrow { margin: 0; }

	.topic-index + .section { padding-top: 0; }

/* Verse library (/bible-verses/<book>/<chapter>/<verse> and book pages) */

	.verse figcaption a { border-bottom: 1px solid var(--line); }

	.verse figcaption a:hover { border-color: var(--text); }

	.verse-single { min-height: 16rem; margin-bottom: 1.25rem; }

	.verse-steps { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: 2.5rem; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.15rem; text-transform: uppercase; }

	.verse-steps a { color: var(--text-soft); }

	.verse-steps a:hover { color: var(--text); }

	.verse-topics { margin-bottom: 3rem; text-align: center; }

	.verse-topics .eyebrow { display: block; margin-bottom: 1rem; }

	.verse-links { display: grid; gap: 0.75rem; }

	.verse-links a {
		display: block;
		padding: 1.1rem 1.4rem;
		border-radius: var(--radius);
		background: var(--panel);
		border: 1px solid var(--line-soft);
		transition: border-color 0.2s ease, transform 0.2s ease;
	}

	.verse-links a:hover { border-color: var(--line); transform: translateY(-2px); }

	.verse-links-ref { display: block; margin-bottom: 0.35rem; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.2rem; text-transform: uppercase; }

	.verse-links-text { display: block; font-style: italic; color: var(--text-soft); }

	.book-index .topic-intro { margin-top: -2rem; margin-bottom: 2.5rem; }

	.book-index .section-title { margin-bottom: 2.5rem; }

	.book-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(12rem, 1fr)); gap: 0.6rem; }

	.book-list a {
		display: flex;
		justify-content: space-between;
		align-items: baseline;
		gap: 0.75rem;
		padding: 0.75rem 1rem;
		border-radius: 10px;
		background: var(--panel);
		border: 1px solid var(--line-soft);
	}

	.book-list a:hover { border-color: var(--line); }

	.book-count { font-size: 0.8rem; color: var(--text-muted); white-space: nowrap; }

/* Responsive */

	@media (max-width: 980px) {
		.nav-links { display: none; }

		.hero-inner { grid-template-columns: 1fr; text-align: center; }

		.hero-subtitle { margin-left: auto; margin-right: auto; }

		.hero .actions { justify-content: center; }

		.hero-media { min-height: 480px; }

		.grid, .topic-grid { grid-template-columns: repeat(2, 1fr); }

		.feature-row { grid-template-columns: 1fr; gap: 2rem; text-align: center; }

		.feature-row.reverse .feature-media { order: 0; }

		.checks { display: inline-block; text-align: left; }
	}

	@media (max-width: 600px) {
		body { font-size: 16px; }

		.container { padding: 0 1rem; }

		.nav-inner { gap: 0.75rem; }

		.nav-actions { gap: 0.5rem; }

		.nav-actions .button.small { padding: 0 0.75rem; letter-spacing: 0.08rem; }

		.hero { padding-top: 1.5rem; }

		.hero .button.large { width: 100%; }

		.hero-media { min-height: 400px; }

		.hero-media .phone { width: 190px; }

		.grid, .topic-grid { grid-template-columns: 1fr; }

		.verse { min-height: 22rem; padding: 2rem 1.25rem 1.25rem; }

		.section { padding: 3.5rem 0; }

		.feature-row + .feature-row { margin-top: 4rem; }

		.feature-media { padding: 1.5rem; }

		.feature-media .phone { width: 220px; }

		.feature-media.pair { padding: 1.5rem 0; gap: 0.75rem; }

		.feature-media.pair .phone { width: calc(50% - 0.375rem); max-width: 170px; }

		.button.large { font-size: 0.72rem; letter-spacing: 0.12rem; padding: 0 1.2rem; }

		.footer-inner { grid-template-columns: 1fr 1fr; }

		.footer-brand { grid-column: 1 / -1; }

		.legal-card { padding: 2rem 1.25rem; }
	}

	/* Room for the language switch: the icon alone stands for the brand */
	@media (max-width: 440px) {
		.nav-inner:has(.lang-switch) .brand span {
			position: absolute;
			width: 1px;
			height: 1px;
			overflow: hidden;
			clip: rect(0 0 0 0);
			white-space: nowrap;
		}
	}

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

		.marquee-track { animation: none; }

		.marquee { overflow-x: auto; }
	}

	.band-link { margin: 2rem 0 0 !important; }

/* Verse of the day by email: sign-up pop-up (public/assets/js/daily-email.js) */

	.daily-email {
		width: calc(100% - 2rem);
		max-width: 27rem;
		padding: 0;
		border: 0;
		background: transparent;
		color: var(--text);
		overflow: visible;
	}

	.daily-email::backdrop { background: rgba(10, 12, 14, 0.62); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }

	.daily-email[open] { animation: daily-email-in 0.25s ease-out; }

	@keyframes daily-email-in {
		from { opacity: 0; transform: translateY(12px); }
		to { opacity: 1; transform: none; }
	}

	.daily-email-card {
		position: relative;
		padding: 2.5rem 2rem 1.75rem;
		border-radius: 18px;
		background: rgba(27, 31, 34, 0.97);
		border: 1px solid var(--line-soft);
		box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
		text-align: center;
	}

	.daily-email-card h2 { font-size: 1.6rem; margin-bottom: 0.75rem; }

	.daily-email-card p { color: var(--text-soft); }

	.daily-email-card form { margin-top: 1.5rem; text-align: left; }

	.daily-email-card input[type="email"] {
		display: block;
		width: 100%;
		height: 3rem;
		padding: 0 1rem;
		border-radius: 10px;
		border: 1px solid var(--line);
		background: rgba(255, 255, 255, 0.06);
		color: var(--text);
		font: inherit;
		font-size: 1rem;
	}

	.daily-email-card input[type="email"]::placeholder { color: var(--text-muted); }

	.daily-email-card input[type="email"]:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(255, 176, 112, 0.25); }

	.daily-email-card .button { width: 100%; margin-top: 0.75rem; cursor: pointer; border: 0; font-family: inherit; }

	.daily-email-card .button:disabled { opacity: 0.6; cursor: default; }

	.daily-email-error { min-height: 0; margin-top: 0.5rem; font-size: 0.9rem; color: #ff9f8f !important; }

	.daily-email-error:empty { display: none; }

	.daily-email-note { margin-top: 1rem; font-size: 0.85rem; color: var(--text-muted) !important; }

	.daily-email-done { margin-top: 0.25rem; }

	.daily-email-close {
		position: absolute;
		top: 0.75rem;
		right: 0.75rem;
		width: 2.25rem;
		height: 2.25rem;
		border: 0;
		border-radius: 50%;
		background: transparent;
		color: var(--text-soft);
		font: inherit;
		font-size: 1.5rem;
		line-height: 1;
		cursor: pointer;
	}

	.daily-email-close:hover { background: rgba(255, 255, 255, 0.08); color: var(--text); }

	.daily-email-trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

	.email-page { text-align: center; }

	.email-page h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); margin-bottom: 0.75rem; }

	.email-page form { display: flex; justify-content: center; }

	.email-page .button { cursor: pointer; font-family: inherit; }

	@media (max-width: 600px) {
		.daily-email-card { padding: 2.25rem 1.25rem 1.5rem; }
	}

	@media (prefers-reduced-motion: reduce) {
		.daily-email[open] { animation: none; }
	}
