/* The aeosome blog: the marketing site's chrome (announcement bar, header, footer, dark closing band)
   around a ruled post index and a post page with a contents rail. Values follow
   apps/aeo-marketing/src/app/globals.css and tools/design-system/tokens/c.css. Light only. */
@font-face {
	font-family: Geist;
	src: url("../fonts/geist-latin.woff2") format("woff2");
	font-weight: 100 900;
	font-display: swap;
}

:root {
	--ink: #171717;
	--muted: #5c5c6e;
	--rule: #e4e4ea;
	--bg: #fff;
	--tint: #f6f6ff;
	--primary: #1a1af8;
	--primary-text: #1a1af8;
	--annc-bg: #0b0b0d;
	--annc-ink: #f4f4f6;
	--band-dark: #121216;
	--band-ink: #ededf2;
	--band-muted: #a3a3b5;
	--col: 1392px;
	--gutter: 16px;
	--sans: Geist, ui-sans-serif, system-ui, sans-serif;
	/* Ghost's font settings read these; both stay Geist because the site has one typeface. */
	--gh-font-heading: var(--sans);
	--gh-font-body: var(--sans);
	color-scheme: light;
}
@media (min-width: 640px) {
	:root {
		--gutter: 24px;
	}
}

*,
*::before,
*::after {
	box-sizing: border-box;
}
html {
	-webkit-text-size-adjust: 100%;
}
body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font: 400 16px / 24px var(--sans);
	-webkit-font-smoothing: antialiased;
}
img {
	max-width: 100%;
	height: auto;
}
a {
	color: inherit;
}
:focus-visible {
	outline: 2px solid var(--primary);
	outline-offset: 2px;
}
.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}
.skip {
	position: absolute;
	left: 8px;
	top: -48px;
	z-index: 100;
	padding: 8px 12px;
	background: var(--bg);
	border: 1px solid var(--rule);
	border-radius: 8px;
}
.skip:focus {
	top: 8px;
}

/* The column: content sits between two hairlines once the viewport is wider than the column. */
.col {
	max-width: var(--col);
	margin-inline: auto;
	padding-inline: var(--gutter);
}
@media (min-width: 1392px) {
	.col {
		border-inline: 1px solid var(--rule);
	}
}

/* Buttons */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 40px;
	padding: 0 16px;
	border: 1px solid var(--rule);
	border-radius: 8px;
	background: var(--bg);
	color: var(--ink);
	font: 500 14px / 20px var(--sans);
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
}
.btn:hover {
	background: var(--tint);
}
.btn-primary {
	background: var(--primary);
	border-color: var(--primary);
	color: #fff;
}
.btn-primary:hover {
	background: #1212d6;
}

/* Announcement bar */
.annc-bar {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 16px;
	background: var(--annc-bg);
	color: var(--annc-ink);
	font: 500 14px / 20px var(--sans);
	text-align: center;
	text-decoration: none;
}
.annc-bar svg {
	flex: none;
}
