* {
	box-sizing: border-box;
}

html {
	background: #ffffff;
	color: #111111;
	font-family: Aptos, "Aptos Display", Inter, "Segoe UI", Arial, Helvetica, sans-serif;
	font-size: 16px;
}

body {
	margin: 0;
	background: #ffffff;
	color: #111111;
}

a {
	color: inherit;
	text-decoration: none;
}

.site-header {
	background: #ffffff;
	border-bottom: 1px solid #eeeeee;
	position: sticky;
	top: 0;
	z-index: 10;
}

.site-header__inner {
	align-items: center;
	display: flex;
	justify-content: space-between;
	margin: 0 auto;
	max-width: 1280px;
	min-height: 100px;
	padding: 0 24px;
	width: 100%;
}

.brand {
	align-items: center;
	display: flex;
	flex: 0 1 auto;
	height: 92px;
	max-width: min(650px, 62vw);
	min-width: 260px;
}

.brand img {
	display: block;
	height: auto;
	max-height: 90px;
	max-width: 100%;
	object-fit: contain;
	width: auto;
}

.top-actions {
	align-items: center;
	display: flex;
	gap: 12px;
}

.outline-button,
.buy-button,
.pill-button,
.form-button {
	align-items: center;
	border-radius: 8px;
	cursor: pointer;
	display: inline-flex;
	font-weight: 700;
	justify-content: center;
	line-height: 1;
	min-height: 40px;
	transition: background-color .18s ease, border-color .18s ease, color .18s ease;
	white-space: nowrap;
}

.outline-button {
	background: #ffffff;
	border: 2px solid #cfcfcf;
	color: #111111;
	font-size: 14px;
	padding: 0 20px;
}

.outline-button:hover,
.outline-button:focus {
	background: #111111;
	border-color: #111111;
	color: #ffffff;
}

.section {
	margin: 0 auto;
	max-width: 1280px;
	padding: 34px 24px 42px;
	width: 100%;
}

.shop-intro {
	margin: 0 auto;
	max-width: 1280px;
	padding: 44px 24px 22px;
	width: 100%;
}

.shop-intro::before {
	background: #9b1326;
	border-radius: 999px;
	content: "";
	display: block;
	height: 4px;
	margin-bottom: 22px;
	width: 82px;
}

.shop-intro__eyebrow {
	color: #9b1326;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: .08em;
	margin-bottom: 10px;
	text-transform: uppercase;
}

.shop-intro h1 {
	font-family: "Aptos Display", Aptos, Inter, "Segoe UI", Arial, Helvetica, sans-serif;
	font-size: 48px;
	font-weight: 800;
	line-height: 1.02;
	margin: 0;
	max-width: 820px;
}

.shop-intro p {
	color: #3f3f3f;
	font-size: 19px;
	line-height: 1.55;
	margin: 16px 0 0;
	max-width: 780px;
}

.section__head {
	align-items: end;
	display: flex;
	justify-content: space-between;
	margin-bottom: 22px;
	margin-top: 6px;
}

.section h1,
.section h2 {
	font-family: "Aptos Display", Aptos, Inter, "Segoe UI", Arial, Helvetica, sans-serif;
	font-size: 32px;
	font-weight: 800;
	line-height: 1.1;
	margin: 0;
}

.section p {
	color: #555555;
	line-height: 1.6;
	margin: 10px 0;
}

.epoch-mosaic-wrap {
	max-height: 70vh;
	overflow: hidden;
	position: relative;
	width: 100%;
}

.epoch-mosaic-wrap::after {
	background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #ffffff);
	bottom: 0;
	content: "";
	height: 100px;
	left: 0;
	pointer-events: none;
	position: absolute;
	right: 0;
	z-index: 2;
}

.epoch-mosaic {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	width: 100%;
}

.mosaic-tile {
	aspect-ratio: 3 / 2;
	background: #eeeeee center / cover no-repeat;
	min-height: 54px;
	position: relative;
}

.mosaic-tile::after {
	background: rgba(0, 0, 0, .14);
	content: "";
	inset: 0;
	opacity: 0;
	position: absolute;
	transition: opacity .18s ease;
}

.mosaic-tile:hover::after {
	opacity: 1;
}

.buy-row {
	display: flex;
	justify-content: center;
	padding-top: 18px;
}

.epoch-stats {
	align-items: stretch;
	background: #f5f5f5;
	border: 1px solid #e7e7e7;
	border-radius: 8px;
	display: grid;
	gap: 1px;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin-top: 16px;
	overflow: hidden;
}

.epoch-stats--three {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.epoch-stat {
	background: #ffffff;
	display: grid;
	gap: 5px;
	min-height: 96px;
	padding: 18px 20px;
	place-content: center;
	text-align: center;
}

.epoch-stat strong {
	color: #111111;
	font-size: 34px;
	line-height: 1;
}

.epoch-stat span {
	color: #676767;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
}

.buy-button {
	background: #14a862;
	border: 2px solid #14a862;
	color: #ffffff;
	font-size: 15px;
	min-width: 148px;
	padding: 0 22px;
}

.buy-button:hover,
.buy-button:focus {
	background: #0d7d48;
	border-color: #0d7d48;
}

.page-panel {
	background: #f6f6f6;
	border-radius: 8px;
	margin: 0 auto;
	max-width: 760px;
	padding: 28px;
}

.contact-panel a,
.site-footer a {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.login-form {
	display: grid;
	gap: 16px;
	margin-top: 18px;
}

.login-form label {
	color: #333333;
	display: grid;
	font-size: 14px;
	font-weight: 700;
	gap: 7px;
}

.login-form input {
	background: #ffffff;
	border: 1px solid #cfcfcf;
	border-radius: 8px;
	font-size: 16px;
	min-height: 44px;
	padding: 8px 12px;
	width: 100%;
}

.form-button {
	background: #111111;
	border: 2px solid #111111;
	color: #ffffff;
	font-size: 15px;
	margin-top: 4px;
	padding: 0 24px;
}

.form-button:hover,
.form-button:focus {
	background: #ffffff;
	color: #111111;
}

.notice {
	background: #fff2f2;
	border: 1px solid #f3cccc;
	border-radius: 8px;
	color: #8c1f1f;
	margin-top: 18px;
	padding: 12px 14px;
}

.item-grid {
	display: grid;
	gap: 16px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin-top: 22px;
}

.epoch-card {
	background: #f1f1f1;
	border: 2px solid transparent;
	border-radius: 8px;
	display: grid;
	gap: 8px;
	min-height: 124px;
	padding: 20px;
	transition: background-color .18s ease, border-color .18s ease;
}

.epoch-card:hover,
.epoch-card:focus {
	background: #ffffff;
	border-color: #d6d6d6;
}

.epoch-card strong {
	font-size: 24px;
}

.epoch-card span {
	color: #666666;
	font-size: 14px;
}

.epoch-block {
	background: #eeeeee;
	border-radius: 8px;
	margin-top: 22px;
	padding: 18px;
}

.epoch-block h2 {
	font-size: 22px;
	margin-bottom: 4px;
}

.meta-line {
	color: #626262;
	font-size: 13px;
	margin-bottom: 14px;
}

.download-grid {
	display: grid;
	gap: 14px;
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.download-card {
	background: #ffffff;
	border-radius: 8px;
	display: flex;
	flex-direction: column;
	min-height: 258px;
	overflow: hidden;
}

.download-card__image {
	aspect-ratio: 3 / 2;
	background: #dddddd center / cover no-repeat;
	min-height: 145px;
	width: 100%;
}

.download-card__body {
	display: grid;
	gap: 10px;
	padding: 12px;
}

.download-card__title {
	color: #444444;
	font-size: 13px;
	line-height: 1.4;
	min-height: 18px;
}

.button-row {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.pill-button {
	background: #111111;
	border: 2px solid #111111;
	color: #ffffff;
	font-size: 12px;
	min-height: 32px;
	padding: 0 12px;
}

.pill-button:hover,
.pill-button:focus {
	background: #ffffff;
	color: #111111;
}

.site-footer {
	border-top: 1px solid #eeeeee;
	color: #666666;
	font-size: 12px;
	line-height: 1.5;
	margin: 32px auto 0;
	max-width: 1280px;
	padding: 22px 24px 34px;
	width: 100%;
}

.site-footer p {
	margin: 5px 0;
}

@media (max-width: 900px) {
	.epoch-mosaic {
		grid-template-columns: repeat(5, minmax(0, 1fr));
	}

	.epoch-stats {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.item-grid,
	.download-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 560px) {
	.site-header__inner {
		align-items: flex-start;
		flex-direction: column;
		gap: 12px;
		padding-bottom: 16px;
		padding-top: 16px;
	}

	.top-actions {
		width: 100%;
	}

	.brand {
		height: 70px;
		max-width: 100%;
		min-width: 230px;
	}

	.brand img {
		max-height: 70px;
	}

	.outline-button {
		flex: 1;
		padding-left: 10px;
		padding-right: 10px;
	}

	.section {
		padding-left: 16px;
		padding-right: 16px;
	}

	.section h1,
	.section h2 {
		font-size: 25px;
	}

	.shop-intro {
		padding-left: 16px;
		padding-right: 16px;
		padding-top: 30px;
	}

	.shop-intro h1 {
		font-size: 34px;
	}

	.shop-intro p {
		font-size: 16px;
	}

	.epoch-mosaic {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.epoch-stat strong {
		font-size: 28px;
	}

	.item-grid,
	.download-grid {
		grid-template-columns: 1fr;
	}

	.page-panel {
		padding: 20px;
	}
}
