/* Created by Mike Graziano */

:root {
	--bg: #f6efe4;
	--surface: #fff8ee;
	--tile: #fffcf6;
	--ink: #2a2118;
	--muted: #7a6c60;
	--accent: #e85d4c;
	--on-accent: #ffffff;
	--correct: #2f9e8f;
	--present: #e8b84a;
	--border: #d6c8b8;
	--key: #e8dccc;
	--shadow: 0 16px 40px rgba(42, 33, 24, 0.12);
	--radius: 24px;
	--max: 1080px;
}

@media (prefers-color-scheme: dark) {
	:root {
		--bg: #1a1612;
		--surface: #2a241e;
		--tile: #302924;
		--ink: #f4ede3;
		--muted: #a89a8c;
		--accent: #f27868;
		--correct: #48baaa;
		--present: #f0c45a;
		--border: #5a4e44;
		--key: #3a322c;
		--shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
	}
}

* { box-sizing: border-box; }

html, body {
	margin: 0;
	padding: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	line-height: 1.5;
	min-height: 100%;
}

img { max-width: 100%; height: auto; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.paper {
	position: relative;
	min-height: 100vh;
	overflow-x: hidden;
}

.paper::before {
	content: "A E I O U Y R S T L N A E I O U Y R S T L N A E I O U Y R S T L N";
	position: absolute;
	inset: -2rem;
	font-weight: 800;
	font-size: 18px;
	letter-spacing: 1.4rem;
	line-height: 2.6rem;
	color: var(--ink);
	opacity: 0.06;
	word-break: break-all;
	pointer-events: none;
	user-select: none;
	z-index: 0;
}

.wrap {
	position: relative;
	z-index: 1;
	width: min(var(--max), calc(100% - 2rem));
	margin: 0 auto;
}

header.nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 1.25rem 0 0.5rem;
	gap: 1rem;
}

.brand {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	color: inherit;
	text-decoration: none;
}

.brand:hover { text-decoration: none; }

.brand img {
	width: 40px;
	height: 40px;
	border-radius: 10px;
}

.wordmark {
	display: flex;
	gap: 5px;
}

.tile {
	width: 28px;
	height: 28px;
	border-radius: 8px;
	display: grid;
	place-items: center;
	font-weight: 800;
	font-size: 14px;
	color: var(--on-accent);
}

.tile.g { background: var(--correct); }
.tile.y { background: var(--present); }
.tile.e {
	background: var(--tile);
	color: var(--ink);
	box-shadow: inset 0 0 0 1.5px var(--border);
}

.nav-links {
	display: flex;
	gap: 1.25rem;
	font-weight: 700;
	font-size: 0.95rem;
}

.nav-links a { color: var(--ink); }

.hero {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: 3rem;
	align-items: center;
	padding: 3rem 0 4rem;
}

.eyebrow {
	text-transform: uppercase;
	letter-spacing: 0.16em;
	font-size: 0.75rem;
	font-weight: 700;
	color: var(--muted);
	margin: 0 0 0.75rem;
}

h1 {
	font-size: clamp(2.2rem, 5vw, 3.6rem);
	line-height: 1.05;
	letter-spacing: -0.03em;
	margin: 0 0 1rem;
	font-weight: 800;
}

.lede {
	font-size: 1.15rem;
	color: var(--muted);
	max-width: 36rem;
	margin: 0 0 1.75rem;
}

.actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.85rem 1.4rem;
	border-radius: 999px;
	font-weight: 800;
	border: 0;
	cursor: default;
}

.btn:hover { text-decoration: none; }

.btn-primary {
	background: var(--accent);
	color: var(--on-accent);
}

.btn-ghost {
	background: var(--surface);
	color: var(--ink);
	box-shadow: inset 0 0 0 1px var(--border);
}

.phones {
	display: flex;
	justify-content: center;
	gap: 1rem;
	align-items: flex-end;
}

.device {
	width: min(280px, 70%);
	background: #1a1410;
	border-radius: 36px;
	padding: 10px;
	box-shadow: var(--shadow);
}

.device.back {
	width: min(240px, 55%);
	transform: translate(-18px, 24px);
	opacity: 0.92;
}

.device img {
	display: block;
	width: 100%;
	border-radius: 26px;
}

.section {
	padding: 1rem 0 3.5rem;
}

h2 {
	font-size: 1.75rem;
	margin: 0 0 1.25rem;
	letter-spacing: -0.02em;
}

.cards {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1rem;
}

.card {
	background: var(--surface);
	border-radius: var(--radius);
	padding: 1.25rem 1.35rem;
	box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--border) 70%, transparent), var(--shadow);
}

.card h3 {
	margin: 0 0 0.4rem;
	font-size: 1.05rem;
}

.card p {
	margin: 0;
	color: var(--muted);
	font-size: 0.98rem;
}

.step {
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--accent);
	margin-bottom: 0.45rem;
}

.bullets {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.65rem 1.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.bullets li {
	background: var(--surface);
	border-radius: 16px;
	padding: 0.9rem 1rem;
	box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--border) 70%, transparent);
	font-weight: 650;
}

footer.site {
	padding: 2rem 0 3rem;
	color: var(--muted);
	font-size: 0.9rem;
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
	border-top: 1px solid color-mix(in srgb, var(--border) 60%, transparent);
	margin-top: 1rem;
}

footer.site a { color: var(--muted); font-weight: 700; }

.policy {
	padding: 2rem 0 4rem;
	max-width: 42rem;
}

.policy h1 {
	font-size: clamp(2rem, 4vw, 2.8rem);
	margin-bottom: 0.35rem;
}

.updated {
	color: var(--muted);
	margin: 0 0 2rem;
}

.policy h2 {
	font-size: 1.2rem;
	margin: 2rem 0 0.6rem;
}

.policy p, .policy li {
	color: var(--ink);
}

.policy ul {
	padding-left: 1.2rem;
}

.policy li { margin: 0.35rem 0; }

@media (max-width: 840px) {
	.hero {
		grid-template-columns: 1fr;
		padding: 2rem 0 3rem;
	}
	.phones { order: -1; }
	.device.back { display: none; }
	.cards, .bullets { grid-template-columns: 1fr; }
	.device { width: min(300px, 80%); }
}
