@font-face {
	font-family: "Inter";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("fonts/Inter.woff2") format("woff2");
}

@font-face {
	font-family: "Inter Tight";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("fonts/InterTight.woff2") format("woff2");
}

@font-face {
	font-family: "Inter Tight";
	font-style: italic;
	font-weight: 100 900;
	font-display: swap;
	src: url("fonts/InterTight-Italic.woff2") format("woff2");
}

:root {
	--color-brand: #fe0000;
	--color-text: rgb(58, 58, 58);
	--color-text-dark: rgb(27, 27, 27);
	--color-text-muted: rgb(106, 106, 106);
	--color-rule: rgba(0, 0, 0, 0.08);
	--font-display: "Inter Tight", "Inter", Helvetica, Arial, sans-serif;
	--font-body: "Inter", Helvetica, Arial, sans-serif;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

@keyframes fadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

body {
	font-family: var(--font-body);
	font-size: 1rem;
	color: var(--color-text);
	background-color: rgb(255, 255, 255);
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-size-adjust: 100%;
	-webkit-text-size-adjust: 100%;
	animation: fadeIn 0.6s ease-out;
}

@media (prefers-reduced-motion: reduce) {
	body {
		animation: none;
	}
}

/* Header section */
.header {
	padding: 1.5rem 3rem;
}

.header .container {
	max-width: none;
	margin: 0;
	position: relative;
}

.logo {
	display: block;
	text-align: center;
	line-height: 0;
}

.header-nav {
	position: absolute;
	top: 50%;
	right: 0;
	transform: translateY(-50%);
}

.header-nav a {
	font-family: var(--font-display);
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--color-text-dark);
	text-decoration: none;
	transition: color 0.2s;
}

.header-nav a:hover {
	color: var(--color-brand);
}

.logo img {
	height: auto;
	width: auto;
	max-height: 5.1875rem;
	max-width: 55%;
	display: inline-block;
}

/* Announcement banner */
.announcement-banner {
	text-align: center;
	padding: 1.25rem 1.5rem;
	border-bottom: 1px solid var(--color-rule);
}

.announcement-banner a {
	display: inline-flex;
	align-items: center;
	gap: 0.625rem;
	color: var(--color-text-dark);
	text-decoration: none;
	font-family: var(--font-display);
	font-size: 0.875rem;
	font-weight: 500;
	transition: color 0.2s;
}

.announcement-banner a:hover {
	color: var(--color-brand);
}

.announcement-badge {
	display: inline-block;
	background-color: var(--color-brand);
	color: #fff;
	font-family: var(--font-display);
	font-size: 0.6875rem;
	font-weight: 700;
	padding: 0.1875rem 0.5rem;
	border-radius: 9999px;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

/* Content section */
.section {
	padding: 3.5rem 0;
	border-top: 1px solid var(--color-rule);
}

.announcement-banner + .section {
	border-top: none;
}

.container {
	max-width: 61.5rem;
	margin: 0 auto;
}

.grid {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
}

.grid-cell {
	flex-basis: 100%;
	max-width: 100%;
	padding-left: 1.5rem;
	padding-right: 1.5rem;
}

.content {
	text-align: left;
}

.content.centered {
	text-align: center;
}

.content > * {
	margin-bottom: 1.5rem;
}

.content > *:last-child {
	margin-bottom: 0;
}

h1 {
	font-family: var(--font-display);
	font-size: 1.75rem;
	font-weight: 500;
	line-height: 1.15;
	color: var(--color-text-dark);
	margin-bottom: 2rem;
	letter-spacing: -0.01em;
}

h2 {
	font-family: var(--font-display);
	font-size: 1.375rem;
	font-weight: 600;
	line-height: 1.25;
	color: var(--color-text-dark);
	margin-top: 3.5rem;
	padding-top: 2.5rem;
	border-top: 1px solid var(--color-rule);
	letter-spacing: -0.005em;
}

p {
	font-size: 1rem;
}

strong {
	font-weight: 600;
}

em {
	font-style: italic;
}

a {
	color: var(--color-text-dark);
	text-decoration: none;
	transition: color 0.2s;
}

a:hover {
	color: rgb(94, 94, 94);
	text-decoration: underline;
}

/* Content links */
.content a {
	text-decoration: underline;
	text-decoration-color: var(--color-rule);
	text-underline-offset: 0.15em;
	transition:
		color 0.2s,
		text-decoration-color 0.2s;
}

.content a:hover {
	color: var(--color-brand);
	text-decoration-color: var(--color-brand);
}

/* Signoff / contact block */
.content-signoff {
	margin-top: 3rem;
	padding-top: 2rem;
	border-top: 1px solid var(--color-rule);
}

.content-signoff > * {
	margin-bottom: 1rem;
}

.content-signoff > *:last-child {
	margin-bottom: 0;
}

.signoff-founders {
	font-family: var(--font-display);
	font-weight: 500;
	color: var(--color-text-dark);
	font-size: 0.9375rem;
}

.signoff {
	font-size: 0.875rem;
	color: var(--color-text-muted);
	line-height: 1.6;
}

.signoff a {
	color: var(--color-text-muted);
	font-weight: 500;
	text-decoration: none;
	text-decoration-color: transparent;
}

.signoff a:hover {
	color: var(--color-brand);
	text-decoration: none;
}

/* Footer section */
.footer {
	padding: 3rem 0 2.5rem;
	border-top: 1px solid var(--color-rule);
	margin-top: 2rem;
}

.footer-text {
	font-size: 0.8125rem;
	color: var(--color-text-muted);
	text-align: center;
}

/* Tablet: 768px+ */
@media (min-width: 768px) {
	.grid-cell {
		flex-basis: 83.3%;
		max-width: 83.3%;
	}
}

/* Desktop: 1024px+ */
@media (min-width: 1024px) {
	.grid-cell {
		flex-basis: 66.7%;
		max-width: 66.7%;
	}
}

/* Large desktop: 1280px+ */
@media (min-width: 1280px) {
	.container {
		max-width: 72.5rem;
	}
}

/* XL desktop: 1536px+ */
@media (min-width: 1536px) {
	body {
		font-size: 1.125rem;
	}

	h1 {
		font-size: 2rem;
	}

	h2 {
		font-size: 1.5rem;
	}

	p {
		font-size: 1.125rem;
	}

	.container {
		max-width: 80rem;
	}

	.footer-text {
		font-size: 1rem;
	}
}

/* Mobile */
@media (max-width: 767px) {
	.header {
		padding: 1.5rem;
	}

	.logo img {
		max-width: 75%;
	}

	h1 {
		font-size: 1.5rem;
	}

	h2 {
		font-size: 1.25rem;
	}

	.section,
	.footer {
		padding: 2.5rem 0;
	}
}

/* Small mobile: switch header to left-aligned flex layout */
@media (max-width: 480px) {
	.header .container {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 1rem;
	}

	.header-nav {
		position: static;
		transform: none;
		flex-shrink: 0;
		order: 2;
	}

	.logo {
		text-align: left;
		flex: 0 1 auto;
		min-width: 0;
		order: 1;
	}

	.logo img {
		max-width: 100%;
	}
}
