/* Pawatsup.com — minimal shared styles */
*,
*::before,
*::after {
	box-sizing: border-box;
}

:root {
	--bg: #fafaf9;
	--surface: #ffffff;
	--text: #1c1917;
	--text-muted: #57534e;
	--border: #e7e5e4;
	--link: #0f766e;
	--link-hover: #115e59;
	--radius: 10px;
	--shadow: 0 1px 2px rgba(28, 25, 23, 0.04);
}

html {
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	min-height: 100vh;
	font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	font-size: 1rem;
	line-height: 1.6;
	color: var(--text);
	background: var(--bg);
}

main {
	max-width: 38rem;
	margin: 0 auto;
	padding: 2rem 1.25rem 3rem;
}

header {
	margin-bottom: 2rem;
	padding-bottom: 1.5rem;
	border-bottom: 1px solid var(--border);
}

h1 {
	margin: 0;
	font-size: clamp(1.75rem, 4vw, 2rem);
	font-weight: 650;
	letter-spacing: -0.02em;
	line-height: 1.2;
}

.lead {
	margin: 0.5rem 0 0;
	font-size: 0.95rem;
	color: var(--text-muted);
}

.app {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	padding: 1.25rem 1.35rem;
	margin-bottom: 1rem;
}

.app:last-of-type {
	margin-bottom: 0;
}

.app h2 {
	margin: 0 0 0.5rem;
	font-size: 1.1rem;
	font-weight: 600;
	letter-spacing: -0.01em;
	line-height: 1.3;
}

.app-emoji {
	margin-right: 0.35em;
}

.app p {
	margin: 0 0 1rem;
	font-size: 0.9375rem;
	color: var(--text-muted);
}

.app-links {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1rem;
}

.app-links a {
	font-size: 0.9rem;
	font-weight: 500;
	color: var(--link);
	text-decoration: none;
	border-bottom: 1px solid transparent;
	transition: color 0.15s ease, border-color 0.15s ease;
}

.app-links a:hover {
	color: var(--link-hover);
	border-bottom-color: currentColor;
}

.app-links a:focus-visible {
	outline: 2px solid var(--link);
	outline-offset: 3px;
	border-radius: 2px;
}

/* Legal / inner pages */
.doc {
	max-width: 40rem;
	margin: 0 auto;
	padding: 2rem 1.25rem 3rem;
}

.doc a {
	color: var(--link);
	text-decoration: none;
	border-bottom: 1px solid transparent;
}

.doc a:hover {
	color: var(--link-hover);
	border-bottom-color: currentColor;
}

.doc h1 {
	margin-top: 0;
	font-size: 1.5rem;
}

.doc p {
	color: var(--text);
}

.doc ul {
	color: var(--text-muted);
}

.doc pre {
	margin: 1rem 0;
	font-family: ui-monospace, "Cascadia Code", "SF Mono", Menlo, monospace;
	font-size: 0.8125rem;
	line-height: 1.5;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 1rem;
	overflow-x: auto;
	white-space: pre-wrap;
}
