/* Shared styles for the static guide/trust pages. External on purpose: the app
   CSP sets style-src 'self', so inline <style> and style="" would be blocked. */

:root {
	--bg: #f7f4ec;
	--paper: #fffdf8;
	--ink: #13241f;
	--muted: #586b64;
	--brand: #0f5c4d;
	--brand-dark: #0a352d;
	--accent: #c9552f;
	--line: #ddd5c5;
	--wash: #eef4ef;
	--radius: 14px;
	--max: 1060px;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font:
		16px / 1.65 ui-sans-serif,
		system-ui,
		-apple-system,
		"Segoe UI",
		Roboto,
		Helvetica,
		Arial,
		sans-serif;
	-webkit-font-smoothing: antialiased;
}

a {
	color: var(--brand);
	text-underline-offset: 2px;
}
a:hover {
	color: var(--brand-dark);
}

.wrap {
	max-width: var(--max);
	margin: 0 auto;
	padding: 0 24px;
}

.site-header {
	background: var(--brand-dark);
	color: #fff;
}
.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	min-height: 68px;
	padding: 10px 0;
}
.brand {
	color: #fff;
	text-decoration: none;
	font-weight: 700;
	font-size: 1.12rem;
	letter-spacing: -0.02em;
}
.nav {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 16px;
	font-size: 0.92rem;
}
.nav a {
	color: #d7e6e0;
	text-decoration: none;
}
.nav a:hover,
.nav a[aria-current="page"] {
	color: #fff;
}
.nav-cta {
	background: #f4efe3;
	color: var(--brand-dark) !important;
	padding: 8px 14px;
	border-radius: 999px;
	font-weight: 650;
}

.hero {
	padding: 64px 0 44px;
	border-bottom: 1px solid var(--line);
}
.eyebrow {
	margin: 0 0 16px;
	color: var(--brand);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}
h1 {
	margin: 0 0 18px;
	max-width: 20ch;
	font-family: Georgia, "Iowan Old Style", "Times New Roman", serif;
	font-size: clamp(2.05rem, 5vw, 3.5rem);
	line-height: 1.08;
	letter-spacing: -0.025em;
	font-weight: 600;
}
.lede {
	margin: 0;
	max-width: 64ch;
	color: var(--muted);
	font-size: 1.12rem;
}
.cta-row {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 28px 0 14px;
}
.button {
	display: inline-block;
	background: var(--brand);
	color: #fff;
	text-decoration: none;
	padding: 13px 20px;
	border-radius: 999px;
	font-weight: 650;
	border: 1px solid var(--brand);
}
.button:hover {
	background: var(--brand-dark);
	color: #fff;
}
.button--ghost {
	background: transparent;
	color: var(--brand);
}
.button--ghost:hover {
	background: var(--wash);
	color: var(--brand-dark);
}
.small {
	margin: 0;
	color: var(--muted);
	font-size: 0.9rem;
}

main section {
	padding: 40px 0;
	border-bottom: 1px solid var(--line);
}
main section:last-of-type {
	border-bottom: 0;
}
h2 {
	margin: 0 0 14px;
	font-family: Georgia, "Iowan Old Style", "Times New Roman", serif;
	font-size: clamp(1.45rem, 3vw, 2rem);
	line-height: 1.15;
	letter-spacing: -0.01em;
	font-weight: 600;
}
h3 {
	margin: 0 0 8px;
	font-size: 1.02rem;
}
p {
	margin: 0 0 14px;
}
main section .wrap > p,
main section .wrap > ul,
main section .wrap > ol {
	max-width: 72ch;
}
pre {
	margin: 0 0 18px;
	padding: 16px 18px;
	overflow-x: auto;
	background: #0f2a24;
	color: #e8f0ec;
	border-radius: 10px;
}
code {
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: 0.9em;
	background: #efe9dc;
	padding: 2px 5px;
	border-radius: 5px;
}
pre code {
	background: transparent;
	padding: 0;
	color: inherit;
	font-size: 0.88rem;
}
ul,
ol {
	margin: 0 0 14px;
	padding-left: 1.25rem;
}
li {
	margin: 6px 0;
}
strong {
	font-weight: 650;
}

.grid {
	display: grid;
	gap: 18px;
	grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}
.card {
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 22px;
}
.card p:last-child {
	margin-bottom: 0;
}
.note {
	margin: 22px 0;
	padding: 16px 18px;
	background: var(--wash);
	border-left: 4px solid var(--brand);
	border-radius: 0 10px 10px 0;
}
.note p:last-child {
	margin-bottom: 0;
}
.warn {
	border-left-color: var(--accent);
	background: #fbefe9;
}

.faq details {
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: 10px;
	padding: 14px 18px;
	margin: 10px 0;
}
.faq summary {
	cursor: pointer;
	font-weight: 650;
}
.faq details p {
	margin: 10px 0 0;
	color: var(--muted);
}

table {
	width: 100%;
	border-collapse: collapse;
	margin: 8px 0 18px;
	font-size: 0.94rem;
}
th,
td {
	text-align: left;
	padding: 10px 12px;
	border-bottom: 1px solid var(--line);
	vertical-align: top;
}
th {
	font-size: 0.8rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--muted);
}

.breadcrumbs {
	padding-top: 18px;
	font-size: 0.86rem;
	color: var(--muted);
}
.breadcrumbs a {
	color: var(--muted);
}

.site-footer {
	background: #0b2b24;
	color: #cfe0da;
	padding: 44px 0;
	font-size: 0.92rem;
}
.footer-grid {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr;
	gap: 28px;
}
.site-footer h3 {
	color: #fff;
	font-size: 0.82rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	margin-bottom: 10px;
}
.site-footer ul {
	list-style: none;
	padding: 0;
	margin: 0;
}
.site-footer li {
	margin: 7px 0;
}
.site-footer a {
	color: #fff;
}
.legal {
	margin: 30px 0 0;
	padding-top: 20px;
	border-top: 1px solid #1d463c;
	color: #9fb9b1;
	font-size: 0.84rem;
}

@media (max-width: 760px) {
	.header-inner {
		flex-direction: column;
		align-items: flex-start;
		gap: 10px;
	}
	.footer-grid {
		grid-template-columns: 1fr;
	}
	.hero {
		padding: 44px 0 34px;
	}
}
