/* mana Store — Storefront-Stil, an mana-ev.ch angelehnt (Editorial-Tokens,
   Serif-Überschriften, mana-Orange). Statisch, von nginx serviert. */
:root {
	--ink: #0c0a09;
	--paper: #fafaf9;
	--muted: #57534e;
	--rule: #e7e5e4;
	--accent: #ff6600;
	--raised: #ffffff;
	--font-sans: ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
	--font-serif: 'Iowan Old Style', 'Apple Garamond', Baskerville, Georgia, serif;
}
@media (prefers-color-scheme: dark) {
	:root {
		--ink: #f3f2f0;
		--paper: #131110;
		--muted: #968f8a;
		--rule: #33302e;
		--accent: #ff8238;
		--raised: #1f1b1a;
	}
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--font-sans);
	line-height: 1.65;
	font-size: 17px;
}
.wrap { max-width: 42rem; margin: 0 auto; padding: 0 1.25rem; }
h1, h2, h3 { font-family: var(--font-serif); line-height: 1.15; font-weight: 600; }
a { color: var(--accent); text-underline-offset: 2px; }

header.site { border-bottom: 1px solid var(--rule); }
.brand { display: flex; align-items: center; gap: 0.6rem; padding: 1.1rem 0; }
.mark {
	width: 2rem; height: 2rem; border-radius: 0.45rem; background: var(--accent);
	color: #fff; font-family: var(--font-serif); font-size: 1.3rem; line-height: 2rem;
	text-align: center; font-weight: 600; flex: 0 0 auto;
}
.brand b { font-family: var(--font-serif); font-size: 1.2rem; font-weight: 600; }
.brand .by { color: var(--muted); font-size: 0.9rem; }
.brand a { text-decoration: none; color: inherit; display: flex; align-items: center; gap: 0.6rem; }

.hero { padding: 3rem 0 1.4rem; }
.hero h1 { font-size: 2.4rem; margin: 0 0 0.8rem; letter-spacing: -0.01em; }
.hero h1 em { color: var(--accent); font-style: normal; }
.lead { font-size: 1.15rem; color: var(--muted); margin: 0; max-width: 32rem; }

section { padding: 2.2rem 0; border-top: 1px solid var(--rule); }
.kicker { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.72rem; color: var(--muted); margin-bottom: 0.7rem; }
h2 { font-size: 1.5rem; margin: 0 0 1.1rem; }
p { margin: 0 0 0.8rem; }

ol.steps { padding: 0; margin: 0; list-style: none; counter-reset: s; display: grid; gap: 1.2rem; }
ol.steps li { counter-increment: s; position: relative; padding-left: 2.8rem; }
ol.steps li::before {
	content: counter(s); position: absolute; left: 0; top: -0.1rem;
	width: 1.85rem; height: 1.85rem; border-radius: 50%; background: var(--ink); color: var(--paper);
	font-family: var(--font-serif); text-align: center; line-height: 1.85rem; font-size: 0.95rem;
}
ol.steps strong { font-weight: 600; }

.btn {
	display: inline-flex; align-items: center; gap: 0.5rem;
	background: var(--ink); color: var(--paper); text-decoration: none;
	padding: 0.7rem 1.2rem; border-radius: 0.45rem; font-weight: 600; border: 1px solid var(--ink);
}
.btn:hover { opacity: 0.9; }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--paper); opacity: 1; }
.actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 0.5rem 0 0.2rem; }
.note { color: var(--muted); font-size: 0.9rem; }

.aside {
	display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
	background: var(--raised); border: 1px solid var(--rule); border-radius: 0.6rem; padding: 1rem 1.2rem;
}
.aside .t { font-family: var(--font-serif); font-size: 1.05rem; }
.next { white-space: nowrap; text-decoration: none; font-weight: 600; }

.mono {
	font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: 0.82rem;
	background: var(--raised); border: 1px solid var(--rule); border-radius: 0.4rem;
	padding: 0.7rem 0.9rem; word-break: break-all; color: var(--ink); margin: 0.5rem 0;
}

.apps { display: grid; gap: 0.7rem; }
.app {
	display: flex; align-items: center; gap: 0.9rem;
	background: var(--raised); border: 1px solid var(--rule); border-radius: 0.6rem; padding: 0.8rem 1rem;
}
.app .ic { width: 2.5rem; height: 2.5rem; border-radius: 0.55rem; flex: 0 0 auto; object-fit: cover; background: var(--rule); }
.app .meta { flex: 1 1 auto; min-width: 0; }
.app .name { font-family: var(--font-serif); font-size: 1.05rem; }
.app .sum { color: var(--muted); font-size: 0.85rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app .dl { flex: 0 0 auto; }
.app .dl a {
	display: inline-block; border: 1px solid var(--ink); color: var(--ink); text-decoration: none;
	border-radius: 0.4rem; padding: 0.45rem 0.8rem; font-size: 0.85rem; font-weight: 600;
}
.app .dl a:hover { background: var(--ink); color: var(--paper); }
.empty { background: var(--raised); border: 1px dashed var(--rule); border-radius: 0.6rem; padding: 1.2rem; color: var(--muted); }

.backlink { display: inline-block; color: var(--muted); text-decoration: none; font-size: 0.9rem; padding: 1.2rem 0 0; }
.backlink:hover { color: var(--ink); }

footer.site { border-top: 1px solid var(--rule); padding: 2rem 0 3rem; color: var(--muted); font-size: 0.9rem; }
footer.site a { color: var(--muted); }
footer.site .row { margin-top: 0.4rem; display: flex; flex-wrap: wrap; gap: 0.35rem 0.6rem; }

/* Credits-/Transparenz-Liste (danke.html) */
.credits { list-style: none; margin: 0; padding: 0; }
.credits li { padding: 0.7rem 0; border-bottom: 1px solid var(--rule); }
.credits li:last-child { border-bottom: 0; }
.credits a { font-weight: 600; }
.credits .lic { color: var(--muted); font-weight: 400; font-size: 0.85rem; }
.credits .detail { color: var(--muted); font-size: 0.92rem; margin-top: 0.15rem; }
