/* Base */
body {
	font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
img {
	display: block;
	margin-left: auto;
	margin-right: auto;
}
a {
	text-decoration: none;
}

/* Layout */
.content {
	max-width: 800px;
	margin: 24px auto;
	background: white;
	padding: 32px 40px;
	border-radius: 8px;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}
.content-logo {
	max-width: 800px;
	margin: auto;
	background: #6fa6f6;
	padding: 10px;
}
.content-boxes {
	position: relative;
	width: 90%;
	height: auto;
	margin: auto;
	background: white;
	padding: 24px;
}

/* Index page app buttons */
.button {
	color: black;
	padding: 15px 16px;
	display: inline-block;
	width: 30%;
	height: auto;
	font-size: 16px;
	word-wrap: break-word;
	text-align: center;
	text-decoration: none;
}

/* Desktop navbar */
.navbar-desktop {
	background-color: #000000;
	padding: 8px 24px;
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
}
.navbar-desktop a {
	color: #3399FF;
	background-color: #000000;
	padding: 12px 16px;
	border-radius: 4px;
	text-decoration: none;
	font-size: 14px;
}
.navbar-desktop a:hover {
	color: #66CCFF;
	background-color: #111111;
}
.navbar-desktop a.active {
	color: #FFFFFF;
	background-color: #111111;
}

/* Typography for content pages */
.content h1 {
	font-size: 28px;
	color: #1B6B93;
	margin-bottom: 8px;
}
.content h2 {
	font-size: 22px;
	color: #1B6B93;
	margin-top: 32px;
	margin-bottom: 12px;
	padding-bottom: 6px;
	border-bottom: 2px solid #0097A7;
}
.content h3 {
	font-size: 18px;
	color: #1B6B93;
	margin-top: 24px;
	margin-bottom: 8px;
}
.content h4 {
	font-size: 16px;
	font-weight: 700;
	color: #333;
	margin-top: 28px;
	margin-bottom: 8px;
	border-left: 3px solid #0097A7;
	padding-left: 10px;
}
.content p {
	font-size: 15px;
	line-height: 1.7;
	color: #444;
	margin-bottom: 16px;
}
.content ul, .content ol {
	font-size: 15px;
	line-height: 1.8;
	color: #444;
	padding-left: 24px;
	margin-bottom: 16px;
}
.content li {
	margin-bottom: 4px;
}
.content strong {
	color: #333;
}
.content a {
	color: #3399FF;
	text-decoration: underline;
}
.content a:hover {
	color: #66CCFF;
}
.content hr {
	border: none;
	border-top: 1px solid #eee;
	margin: 24px 0;
}

/* Help page */
.help-toc {
	background: #f5f7fa;
	border: 1px solid #e0e4e8;
	border-radius: 6px;
	padding: 16px 16px 16px 24px;
	margin: 16px 0;
}
.help-toc h3 {
	margin-top: 0;
	margin-bottom: 8px;
	font-size: 16px;
	color: #333;
}
.help-toc ol {
	margin: 0;
	padding-left: 20px;
}
.help-toc li {
	padding: 3px 0;
}
.help-figure, .help-figure-inline {
	margin: 20px 0;
	text-align: center;
}
.help-screenshot {
	max-width: 320px;
	height: auto;
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}
.help-caption {
	font-size: 13px;
	color: #777;
	margin-top: 8px;
	font-style: italic;
}

/* FAQ */
.faq-item {
	background: #f8f9fa;
	border: 1px solid #e0e4e8;
	border-radius: 6px;
	padding: 16px 20px;
	margin: 16px 0;
}
.faq-question {
	font-size: 16px;
	font-weight: 600;
	color: #1a1a1a;
	margin: 0 0 10px 0;
}
.faq-answer {
	font-size: 15px;
	color: #444;
	margin: 0;
}
.faq-answer p {
	margin-top: 0;
}
.faq-answer p:last-child {
	margin-bottom: 0;
}

/* App page */
.feature-graphic {
	display: block;
	margin: 0 auto;
	width: 98%;
	height: auto;
}
.app-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
}
.google-play-badge {
	height: 60px;
	width: auto;
}

/* Buy Me a Coffee */
.buy-coffee {
	text-align: center;
	margin: 24px 0;
}

/* Back to contents link */
.back-to-contents {
	text-align: right;
	margin: 12px 0 0 0;
	font-size: 13px;
}
.back-to-contents a {
	color: #0097A7;
	text-decoration: none;
}
.back-to-contents a:hover {
	color: #1B6B93;
	text-decoration: underline;
}

/* Responsive */
@media (max-width: 576px) {
	.navbar-desktop {
		display: none !important;
	}
	.content {
		margin: 12px 8px;
		padding: 20px 16px;
		border-radius: 6px;
	}
	.content h1 {
		font-size: 22px;
	}
	.content h2 {
		font-size: 18px;
	}
	.content-boxes {
		width: 100%;
		padding: 12px;
	}
	.button {
		width: 100%;
		margin-bottom: 16px;
	}
}
