/* Textify pages of www.isolidapps.com (/textify/, /fr/textify/, /de/textify/).
   Source: Textify/Website/assets/textify.css, copied to /css/textify.css by build.py.
   After a change, bump CSS_VERSION in build.py so browsers fetch the new file. */

:root {
	color-scheme: light dark;
	--bg: #ffffff;
	--bg-alt: #f5f5f7;
	--card: #ffffff;
	--text: #1d1d1f;
	--muted: #5f5f66;
	--line: #e3e3e8;
	--accent: #be2428;
	--accent-hover: #9e1c20;
	--accent-soft: #fcecec;
	--button: #be2428;
	--button-hover: #a51f23;
	--header-bg: rgba(255, 255, 255, 0.86);
	--shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 14px 36px rgba(0, 0, 0, 0.12);
	--radius: 18px;
	--font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", "Segoe UI", Roboto, Arial, sans-serif;
	--font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", "Segoe UI", Roboto, Arial, sans-serif;
	--font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

@media (prefers-color-scheme: dark) {
	:root {
		--bg: #111113;
		--bg-alt: #1a1a1d;
		--card: #1f1f23;
		--text: #f5f5f7;
		--muted: #a8a8b0;
		--line: #303036;
		--accent: #ff6b6e;
		--accent-hover: #ff9092;
		--accent-soft: #3a1719;
		--button: #c92f35;
		--button-hover: #d8434a;
		--header-bg: rgba(17, 17, 19, 0.84);
		--shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 14px 36px rgba(0, 0, 0, 0.5);
	}
}

/* ---------- Base ---------- */

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

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-padding-top: 76px;
}

body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font);
	font-size: 17px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

img {
	max-width: 100%;
	height: auto;
}

a {
	color: var(--accent);
	text-decoration: none;
}

a:hover {
	color: var(--accent-hover);
	text-decoration: underline;
}

h1,
h2,
h3 {
	font-family: var(--font-display);
	line-height: 1.15;
	letter-spacing: -0.02em;
	margin: 0 0 0.5em;
	text-wrap: balance;
	overflow-wrap: break-word;
}

h1 {
	font-size: clamp(2.1rem, 1.2rem + 3.4vw, 3.4rem);
	font-weight: 700;
	letter-spacing: -0.028em;
	line-height: 1.07;
}

h2 {
	font-size: clamp(1.6rem, 1.15rem + 1.7vw, 2.35rem);
	font-weight: 700;
}

h3 {
	font-size: 1.2rem;
	font-weight: 650;
	letter-spacing: -0.01em;
}

p,
ul,
ol {
	margin: 0 0 1em;
}

strong {
	font-weight: 650;
}

kbd {
	display: inline-block;
	min-width: 1.6em;
	padding: 0.05em 0.45em;
	border: 1px solid var(--line);
	border-bottom-width: 2px;
	border-radius: 6px;
	background: var(--card);
	font-family: var(--font);
	font-size: 0.88em;
	line-height: 1.45;
	text-align: center;
	white-space: nowrap;
}

code {
	font-family: var(--font-mono);
	font-size: 0.9em;
	padding: 0.1em 0.35em;
	border-radius: 5px;
	background: var(--bg-alt);
}

:focus-visible {
	outline: 3px solid var(--accent);
	outline-offset: 2px;
	border-radius: 4px;
}

.skip-link {
	position: absolute;
	left: 12px;
	top: -60px;
	z-index: 100;
	padding: 8px 14px;
	border-radius: 8px;
	background: var(--button);
	color: #fff;
}

.skip-link:focus {
	top: 12px;
	color: #fff;
}

.wrap {
	width: 100%;
	max-width: 1120px;
	margin: 0 auto;
	padding: 0 20px;
}

.narrow {
	max-width: 780px;
}

/* ---------- Header ---------- */

.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: var(--header-bg);
	border-bottom: 1px solid var(--line);
	-webkit-backdrop-filter: saturate(180%) blur(18px);
	backdrop-filter: saturate(180%) blur(18px);
}

.header-inner {
	display: flex;
	align-items: center;
	gap: 18px;
	height: 58px;
}

.brand {
	display: flex;
	align-items: center;
	gap: 9px;
	color: var(--text);
	font-family: var(--font-display);
	font-size: 1.12rem;
	font-weight: 700;
	letter-spacing: -0.01em;
	white-space: nowrap;
}

.brand:hover {
	color: var(--text);
	text-decoration: none;
}

.brand img {
	display: block;
	width: 30px;
	height: 30px;
}

.brand small {
	color: var(--muted);
	font-family: var(--font);
	font-size: 0.72rem;
	font-weight: 500;
	letter-spacing: 0;
}

.nav-desktop {
	display: flex;
	gap: 4px;
	margin-left: auto;
}

.nav-desktop a,
.nav-mobile a {
	color: var(--text);
	font-size: 0.92rem;
	border-radius: 8px;
}

.nav-desktop a {
	padding: 6px 10px;
}

.nav-desktop a:hover,
.nav-mobile a:hover {
	background: var(--bg-alt);
	text-decoration: none;
}

.nav-desktop a[aria-current="page"],
.nav-mobile a[aria-current="page"] {
	color: var(--accent);
	font-weight: 600;
}

.lang-switch {
	display: flex;
	gap: 2px;
	font-size: 0.82rem;
}

.lang-switch a {
	padding: 4px 7px;
	border-radius: 6px;
	color: var(--muted);
	font-weight: 500;
}

.lang-switch a:hover {
	background: var(--bg-alt);
	color: var(--text);
	text-decoration: none;
}

.lang-switch a[aria-current="true"] {
	color: var(--text);
	font-weight: 700;
}

.button {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 16px;
	border-radius: 999px;
	background: var(--button);
	color: #fff;
	font-size: 0.92rem;
	font-weight: 600;
	white-space: nowrap;
}

.button:hover {
	background: var(--button-hover);
	color: #fff;
	text-decoration: none;
}

.button svg {
	width: 16px;
	height: 16px;
}

.nav-mobile {
	display: none;
	position: relative;
	margin-left: auto;
}

.nav-mobile summary {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 6px 10px;
	border: 1px solid var(--line);
	border-radius: 999px;
	cursor: pointer;
	font-size: 0.92rem;
	font-weight: 600;
	list-style: none;
}

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

.nav-mobile summary svg {
	width: 16px;
	height: 16px;
}

.nav-mobile[open] summary {
	background: var(--bg-alt);
}

.nav-mobile .menu-panel {
	position: absolute;
	right: 0;
	top: calc(100% + 10px);
	display: flex;
	flex-direction: column;
	min-width: 250px;
	padding: 8px;
	border: 1px solid var(--line);
	border-radius: 14px;
	background: var(--card);
	box-shadow: var(--shadow);
}

.nav-mobile .menu-panel a {
	padding: 10px 12px;
	font-size: 1rem;
}

.nav-mobile .menu-panel .lang-switch {
	margin-top: 6px;
	padding: 8px 6px 2px;
	border-top: 1px solid var(--line);
}

@media (max-width: 1020px) {
	.nav-desktop,
	.header-inner > .lang-switch {
		display: none;
	}

	.nav-mobile {
		display: block;
	}
}

@media (max-width: 420px) {
	.brand small {
		display: none;
	}

	.header-inner .button {
		padding: 7px 12px;
	}
}

/* ---------- Breadcrumb ---------- */

.breadcrumb {
	padding-top: 22px;
	font-size: 0.85rem;
	color: var(--muted);
}

.breadcrumb ol {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.breadcrumb li + li::before {
	content: "›";
	margin-right: 6px;
	color: var(--muted);
}

.breadcrumb a {
	color: var(--muted);
}

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

.hero {
	padding: 56px 0 24px;
	text-align: center;
}

.hero .app-icon {
	display: block;
	width: 112px;
	height: 112px;
	margin: 0 auto 22px;
	filter: drop-shadow(0 8px 18px rgba(190, 36, 40, 0.28));
}

.eyebrow {
	margin: 0 0 12px;
	color: var(--accent);
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.hero h1 {
	max-width: 900px;
	margin: 0 auto 18px;
}

.lead {
	max-width: 720px;
	margin: 0 auto 26px;
	color: var(--muted);
	font-size: clamp(1.08rem, 1rem + 0.45vw, 1.3rem);
	line-height: 1.5;
}

.cta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 10px 18px;
	margin-bottom: 14px;
}

.store-badge {
	display: inline-block;
	line-height: 0;
}

.store-badge img {
	width: auto;
	height: 52px;
}

.cta-note {
	margin: 0;
	color: var(--muted);
	font-size: 0.9rem;
}

.trust {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin: 22px 0 0;
	padding: 0;
	list-style: none;
}

.trust li {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 6px 12px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: var(--card);
	color: var(--text);
	font-size: 0.85rem;
}

.trust svg {
	width: 16px;
	height: 16px;
	color: var(--accent);
	flex: none;
}

.hero-shot {
	margin: 40px auto 0;
	max-width: 1120px;
}

/* ---------- Page header of the subpages ---------- */

.page-head {
	padding: 28px 0 8px;
}

.page-head h1 {
	font-size: clamp(2rem, 1.3rem + 2.6vw, 3rem);
	margin-bottom: 14px;
}

.page-head .lead {
	margin: 0 0 22px;
}

.page-head .cta {
	justify-content: flex-start;
}

.updated {
	margin: 0 0 18px;
	color: var(--muted);
	font-size: 0.85rem;
}

/* ---------- Screenshots ---------- */

.shot {
	margin: 32px 0;
}

.shot img {
	display: block;
	width: 100%;
	border-radius: 14px;
	box-shadow: var(--shadow);
}

.shot figcaption {
	margin-top: 12px;
	color: var(--muted);
	font-size: 0.88rem;
	text-align: center;
}

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

.section {
	padding: 76px 0;
}

.section.alt {
	background: var(--bg-alt);
}

.section-head {
	max-width: 760px;
	margin: 0 auto 40px;
	text-align: center;
}

.section-head .lead {
	margin-bottom: 0;
}

.grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
	gap: 20px;
}

.card {
	padding: 26px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--card);
}

.card h3 {
	margin-top: 14px;
}

.card p:last-child,
.card ul:last-child {
	margin-bottom: 0;
}

.card .more {
	font-weight: 600;
}

.icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: var(--accent-soft);
	color: var(--accent);
}

.icon svg {
	width: 24px;
	height: 24px;
}

.split {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
	align-items: center;
	gap: 48px;
}

.split + .split {
	margin-top: 72px;
}

.split.reverse > :first-child {
	order: 2;
}

.split .shot {
	margin: 0;
}

.checklist {
	padding: 0;
	list-style: none;
}

.checklist li {
	position: relative;
	margin-bottom: 0.55em;
	padding-left: 30px;
}

.checklist li::before {
	content: "";
	position: absolute;
	left: 2px;
	top: 0.42em;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.3 2.3 4.7-5' fill='none' stroke='%23be2428' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
}

@media (prefers-color-scheme: dark) {
	.checklist li::before {
		background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.3 2.3 4.7-5' fill='none' stroke='%23ff6b6e' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	}
}

/* ---------- Steps ---------- */

.steps {
	counter-reset: step;
	margin: 0 0 1.5em;
	padding: 0;
	list-style: none;
}

.steps > li {
	position: relative;
	counter-increment: step;
	margin-bottom: 18px;
	padding-left: 52px;
}

.steps > li::before {
	content: counter(step);
	position: absolute;
	left: 0;
	top: -2px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: var(--button);
	color: #fff;
	font-weight: 700;
	font-size: 0.95rem;
}

.steps h3 {
	margin: 0 0 4px;
	font-size: 1.08rem;
}

.steps p {
	margin: 0;
}

.steps.cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 20px;
}

.steps.cards > li {
	margin: 0;
	padding: 70px 24px 24px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--card);
}

.steps.cards > li::before {
	left: 24px;
	top: 24px;
}

/* ---------- Guide pages (long text) ---------- */

.prose {
	padding-bottom: 40px;
}

.prose h2 {
	margin-top: 1.9em;
	font-size: clamp(1.45rem, 1.15rem + 1vw, 1.9rem);
}

.prose h3 {
	margin-top: 1.5em;
}

.prose li {
	margin-bottom: 0.4em;
}

.toc {
	margin: 8px 0 30px;
	padding: 18px 22px;
	border: 1px solid var(--line);
	border-radius: 14px;
	background: var(--bg-alt);
}

.toc strong {
	display: block;
	margin-bottom: 6px;
}

.toc ol {
	margin: 0;
	padding-left: 1.2em;
}

.toc li {
	margin: 0.2em 0;
}

.callout {
	margin: 1.6em 0;
	padding: 16px 20px;
	border-left: 4px solid var(--accent);
	border-radius: 0 12px 12px 0;
	background: var(--accent-soft);
}

.callout p:last-child {
	margin-bottom: 0;
}

.answer-box {
	margin: 0 0 28px;
	padding: 18px 22px;
	border: 1px solid var(--line);
	border-radius: 14px;
	background: var(--card);
}

.answer-box p:last-child {
	margin-bottom: 0;
}

/* ---------- Tables ---------- */

.table-wrap {
	overflow-x: auto;
	margin: 1.2em 0 1.8em;
	border: 1px solid var(--line);
	border-radius: 14px;
}

table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.95rem;
}

th,
td {
	padding: 11px 14px;
	border-bottom: 1px solid var(--line);
	text-align: left;
	vertical-align: top;
}

thead th {
	background: var(--bg-alt);
	font-weight: 650;
	white-space: nowrap;
}

tbody tr:last-child th,
tbody tr:last-child td {
	border-bottom: 0;
}

tbody th {
	font-weight: 600;
}

td.yes,
td.no,
.compare td,
.compare thead th + th {
	text-align: center;
}

td.yes,
td.no {
	white-space: nowrap;
}

td.yes {
	color: var(--accent);
	font-weight: 700;
}

td.no {
	color: var(--muted);
}

/* ---------- Facts ---------- */

.facts {
	display: grid;
	grid-template-columns: minmax(150px, 0.8fr) 2fr;
	margin: 1.2em 0 1.8em;
	border: 1px solid var(--line);
	border-radius: 14px;
	overflow: hidden;
}

.facts dt,
.facts dd {
	margin: 0;
	padding: 11px 16px;
	border-bottom: 1px solid var(--line);
}

.facts dt {
	background: var(--bg-alt);
	font-weight: 600;
}

.facts dt:last-of-type,
.facts dd:last-of-type {
	border-bottom: 0;
}

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

.faq {
	max-width: 820px;
	margin: 0 auto;
}

.faq-item {
	padding: 22px 0;
	border-bottom: 1px solid var(--line);
}

.faq-item:first-child {
	padding-top: 0;
}

.faq-item h3 {
	margin-bottom: 8px;
	font-size: 1.15rem;
}

.faq-item .a p:last-child,
.faq-item .a ul:last-child {
	margin-bottom: 0;
}

/* ---------- Final call to action ---------- */

.cta-band {
	padding: 64px 0;
	background: linear-gradient(160deg, #d83c42 0%, #be2428 60%, #a51f23 100%);
	color: #fff;
	text-align: center;
}

.cta-band h2 {
	margin-bottom: 10px;
}

.cta-band p {
	max-width: 640px;
	margin: 0 auto 24px;
	color: rgba(255, 255, 255, 0.9);
	font-size: 1.1rem;
}

.cta-band .cta-note {
	margin: 14px auto 0;
	color: rgba(255, 255, 255, 0.85);
}

.cta-band a:not(.store-badge) {
	color: #fff;
	text-decoration: underline;
}

/* ---------- Related pages ---------- */

.related {
	padding: 56px 0;
	border-top: 1px solid var(--line);
}

.related h2 {
	font-size: 1.5rem;
}

.related .card h3 {
	margin-top: 0;
	font-size: 1.08rem;
}

.related .card a {
	color: var(--text);
}

.related .card a:hover {
	color: var(--accent);
}

/* ---------- Footer ---------- */

.site-footer {
	padding: 52px 0 36px;
	border-top: 1px solid var(--line);
	background: var(--bg-alt);
	color: var(--muted);
	font-size: 0.9rem;
}

.footer-grid {
	display: grid;
	grid-template-columns: 1.4fr repeat(3, 1fr);
	gap: 32px;
}

.footer-title {
	margin: 0 0 10px;
	color: var(--text);
	font-size: 0.9rem;
	font-weight: 650;
}

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

.footer-grid li {
	margin-bottom: 7px;
}

.footer-grid a {
	color: var(--muted);
}

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

.footer-about .brand {
	margin-bottom: 10px;
	color: var(--text);
}

.footer-legal {
	margin-top: 40px;
	padding-top: 20px;
	border-top: 1px solid var(--line);
	font-size: 0.8rem;
}

.footer-legal p {
	margin: 0 0 4px;
}

/* ---------- Small screens ---------- */

@media (max-width: 860px) {
	.split {
		grid-template-columns: 1fr;
		gap: 26px;
	}

	.split.reverse > :first-child {
		order: 0;
	}

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

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

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

	.wrap {
		padding: 0 16px;
	}

	.hero {
		padding-top: 36px;
	}

	.hero .app-icon {
		width: 88px;
		height: 88px;
	}

	.section {
		padding: 52px 0;
	}

	.card {
		padding: 22px;
	}

	.facts {
		grid-template-columns: 1fr;
	}

	.facts dt {
		border-bottom: 0;
		padding-bottom: 2px;
	}

	.facts dd {
		padding-top: 2px;
	}

	.shot img {
		border-radius: 10px;
	}
}

/* Long German words like "Datenschutzerklärung" must fit on the smallest phones */
@media (max-width: 340px) {
	h1,
	.page-head h1 {
		font-size: 1.7rem;
	}
}

@media (prefers-reduced-motion: no-preference) {
	html {
		scroll-behavior: smooth;
	}
}

@media print {
	.site-header,
	.site-footer,
	.cta-band,
	.related {
		display: none;
	}
}
