/* sop-pages.css -- the look of the three public pages (/, /privacy, /terms; src/public-pages.ts). Light mode only.
   The few tokens below carry the values of the house brand file (brand.css), so this file stands alone. */
:root {
	color-scheme: light;
	--pp-bg: #f6f8fb;
	--pp-surface: #ffffff;
	--pp-ink: #0d1427;
	--pp-ink-soft: #4a4c54;
	--pp-line: #e2e6ec;
	--pp-brand: #0879a8;
	--pp-brand-strong: #065f84;
	--pp-focus: 0 0 0 3px #ffffff, 0 0 0 6px #0aa4db;
	--pp-radius: 18px;
	--pp-shadow: 0 1px 2px rgba(13, 20, 39, 0.06), 0 6px 20px rgba(13, 20, 39, 0.07);
	--pp-font: Inter, "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}

* {
	box-sizing: border-box;
}

body {
	margin: 0;
	background: var(--pp-bg);
	color: var(--pp-ink);
	font-family: var(--pp-font);
	font-size: 1.125rem;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}

main {
	max-width: 46rem;
	margin: 4rem auto 0;
	padding: 3rem 3.5rem;
	background: var(--pp-surface);
	border: 1px solid var(--pp-line);
	border-radius: var(--pp-radius);
	box-shadow: var(--pp-shadow);
}

h1 {
	margin: 0 0 1.5rem;
	font-size: 2.25rem;
	line-height: 1.2;
	letter-spacing: -0.01em;
}

.eyebrow {
	margin: 0 0 0.75rem;
	color: var(--pp-brand);
	font-size: 0.8125rem;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

h1 .updated {
	display: block;
	margin-top: 1rem;
	color: var(--pp-ink-soft);
	font-size: 1rem;
	font-weight: 400;
	letter-spacing: 0;
}

h2 {
	margin: 2.25rem 0 0.75rem;
	font-size: 1.375rem;
	line-height: 1.3;
}

/* text that goes on from a section heading cut out of the draft's sentence: the words stay as written, the first
   letter is drawn as a capital (only on paragraphs marked so; never on an address) */
.cont::first-letter {
	text-transform: uppercase;
}
/* a quote set apart: the app's own words, one sentence per line, an indented bar, a small source line under it */
.quote {
	margin: 0 0 1.25rem;
}
.quote blockquote {
	margin: 0;
	padding: 0.25rem 0 0.25rem 1.25rem;
	border-left: 3px solid var(--pp-brand);
}
.quote blockquote p {
	margin: 0 0 0.5rem;
}
.quote blockquote p:last-child {
	margin-bottom: 0;
}
.quote figcaption {
	margin-top: 0.5rem;
	padding-left: calc(1.25rem + 3px); /* lines up with the quote's text, past the bar */
	color: var(--pp-ink-soft);
	font-size: 0.9375rem;
}

p,
li {
	margin: 0 0 1rem;
	color: var(--pp-ink);
}

.lead {
	font-size: 1.25rem;
	color: var(--pp-ink-soft);
}

ul {
	margin: 0 0 1.25rem;
	padding-left: 1.25rem;
}

li {
	padding-left: 0.25rem;
}

strong {
	font-weight: 600;
}

a {
	color: var(--pp-brand);
	text-underline-offset: 0.15em;
}

/* a bare address breaks only where the page marks it (<wbr> after a slash), never inside a word */
a.addr {
	overflow-wrap: normal;
	word-break: normal;
}

/* a name with hyphens in it (AES-256-GCM) is never broken at one */
.nb {
	white-space: nowrap;
}

a:hover {
	color: var(--pp-brand-strong);
}

a:focus-visible {
	outline: none;
	border-radius: 4px;
	box-shadow: var(--pp-focus);
}

footer {
	max-width: 46rem;
	margin: 0 auto;
	padding: 1.75rem 3.5rem 4rem;
	color: var(--pp-ink-soft);
	font-size: 1rem;
}

footer nav {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 2rem;
	margin-bottom: 0.5rem;
}

footer nav a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	font-weight: 600;
}

footer nav a[aria-current="page"] {
	color: var(--pp-ink-soft);
	text-decoration: none;
}

footer p {
	margin: 0;
	color: var(--pp-ink-soft);
}

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

	main {
		margin: 0;
		padding: 2rem 1.5rem;
		border: 0;
		border-radius: 0;
		box-shadow: none;
	}

	h1 {
		font-size: 1.75rem;
	}

	h2 {
		font-size: 1.1875rem;
	}

	footer {
		padding: 1.5rem 1.5rem 3rem;
	}

	footer nav {
		flex-direction: column;
		gap: 0;
	}
}
