:root {
	--bg: #101417;
	--ink: #f7faf7;
	--muted: #aeb9b0;
	--accent: #b7f171;
	--accent-2: #65c987;
	--button-ink: #142014;
	--panel: rgba(255, 255, 255, 0.075);
	--line: rgba(255, 255, 255, 0.12);
	--glow: rgba(101, 201, 135, 0.22);
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	min-height: 100vh;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	color: var(--ink);
	background:
		radial-gradient(circle at 10% 15%, var(--glow), transparent 31rem),
		radial-gradient(circle at 90% 5%, color-mix(in srgb, var(--accent-2) 17%, transparent), transparent 28rem),
		var(--bg);
	-webkit-font-smoothing: antialiased;
}

body.weekend {
	--bg: #15101b;
	--ink: #fff8f3;
	--muted: #c4b4bd;
	--accent: #ffcb6b;
	--accent-2: #ff6c8f;
	--button-ink: #2c1820;
	--glow: rgba(255, 108, 143, 0.22);
}

body.birthday {
	--bg: #130e21;
	--ink: #fbf7ff;
	--muted: #bdb1cc;
	--accent: #f6de69;
	--accent-2: #af7bff;
	--button-ink: #25173b;
	--glow: rgba(175, 123, 255, 0.24);
}

body.mind {
	--bg: #081528;
	--ink: #f4f9ff;
	--muted: #a7b6cb;
	--accent: #7df6db;
	--accent-2: #4f8cff;
	--button-ink: #082032;
	--glow: rgba(79, 140, 255, 0.25);
}

a {
	color: inherit;
}

.shell {
	width: min(1120px, calc(100% - 40px));
	margin: 0 auto;
}

nav {
	height: 80px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.brand {
	display: flex;
	align-items: center;
	gap: 11px;
	font-size: 1.04rem;
	font-weight: 750;
	letter-spacing: -0.02em;
	text-decoration: none;
}

.brand img {
	width: 38px;
	height: 38px;
	border: 1px solid var(--line);
	border-radius: 11px;
	object-fit: cover;
	box-shadow: 0 8px 24px var(--glow);
}

.back-link {
	color: var(--muted);
	font-size: 0.9rem;
	text-decoration: none;
}

.back-link:hover {
	color: var(--ink);
}

.hero {
	min-height: 650px;
	display: grid;
	grid-template-columns: 1.05fr 0.95fr;
	gap: clamp(44px, 7vw, 82px);
	align-items: center;
	padding: 68px 0 100px;
}

.eyebrow {
	margin: 0 0 20px;
	color: var(--accent);
	font-size: 0.77rem;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

h1 {
	max-width: 720px;
	margin: 0;
	font-size: clamp(3.7rem, 7vw, 6.5rem);
	line-height: 0.92;
	letter-spacing: -0.065em;
}

.gradient-text {
	color: transparent;
	background: linear-gradient(105deg, var(--accent), var(--accent-2));
	background-clip: text;
	-webkit-background-clip: text;
}

.lede {
	max-width: 600px;
	margin: 28px 0 0;
	color: var(--muted);
	font-size: clamp(1.08rem, 2vw, 1.25rem);
	line-height: 1.65;
}

.actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 34px;
}

.button {
	min-height: 50px;
	padding: 0 20px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid transparent;
	border-radius: 14px;
	font-weight: 750;
	text-decoration: none;
	transition: transform 0.18s ease, background 0.18s ease;
}

.button:hover {
	transform: translateY(-2px);
}

.button-primary {
	color: var(--button-ink);
	background: var(--accent);
	box-shadow: 0 10px 32px color-mix(in srgb, var(--accent) 16%, transparent);
}

.button-secondary {
	border-color: var(--line);
	background: rgba(255, 255, 255, 0.05);
}

.visual {
	position: relative;
	min-height: 470px;
	display: grid;
	place-items: center;
}

.visual::before {
	content: "";
	position: absolute;
	width: 84%;
	height: 84%;
	border-radius: 50%;
	background: var(--glow);
	filter: blur(52px);
}

.phone-card {
	position: relative;
	width: min(360px, 92%);
	padding: 17px;
	border: 1px solid var(--line);
	border-radius: 32px;
	background: linear-gradient(150deg, rgba(255,255,255,0.14), rgba(255,255,255,0.035));
	box-shadow: 0 34px 90px rgba(0, 0, 0, 0.38);
	transform: rotate(2.5deg);
}

.phone-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 4px 5px 17px;
	color: var(--muted);
	font-size: 0.78rem;
	font-weight: 700;
}

.phone-title {
	color: var(--ink);
	font-size: 1.02rem;
}

.mock-panel {
	min-height: 355px;
	overflow: hidden;
	padding: 24px;
	border-radius: 22px;
	color: var(--button-ink);
	background: linear-gradient(145deg, var(--accent), var(--accent-2));
}

.mock-kicker {
	margin: 0;
	font-size: 0.72rem;
	font-weight: 850;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	opacity: 0.65;
}

.mock-panel h2 {
	max-width: 280px;
	margin: 10px 0 0;
	font-size: clamp(2.1rem, 5vw, 3.5rem);
	line-height: 0.95;
	letter-spacing: -0.055em;
}

.plant-orbit {
	position: relative;
	width: 210px;
	height: 190px;
	margin: 30px auto 0;
}

.leaf {
	position: absolute;
	width: 76px;
	height: 118px;
	border-radius: 80% 10% 80% 20%;
	background: rgba(20, 52, 30, 0.8);
	transform-origin: 100% 100%;
}

.leaf:nth-child(1) { left: 68px; transform: rotate(-42deg); }
.leaf:nth-child(2) { left: 78px; top: 10px; transform: rotate(8deg); }
.leaf:nth-child(3) { left: 44px; top: 36px; transform: rotate(-92deg); }

.plan-card {
	margin-top: 28px;
	padding: 18px;
	border-radius: 18px;
	color: #38202a;
	background: rgba(255,255,255,0.78);
	box-shadow: 0 16px 34px rgba(86, 27, 49, 0.15);
}

.plan-card strong,
.plan-card span {
	display: block;
}

.plan-card span {
	margin-top: 6px;
	font-size: 0.85rem;
	opacity: 0.65;
}

.avatars {
	display: flex;
	margin-top: 15px;
}

.avatar {
	width: 34px;
	height: 34px;
	margin-right: -7px;
	display: grid;
	place-items: center;
	border: 2px solid rgba(255,255,255,0.75);
	border-radius: 50%;
	color: white;
	background: #68405d;
	font-size: 0.68rem;
	font-weight: 800;
}

.birthday-ring {
	width: 176px;
	height: 176px;
	margin: 30px auto 0;
	display: grid;
	place-items: center;
	border: 18px solid rgba(48, 25, 82, 0.16);
	border-top-color: rgba(48, 25, 82, 0.75);
	border-radius: 50%;
	text-align: center;
}

.birthday-ring strong {
	display: block;
	font-size: 3rem;
	line-height: 1;
}

.birthday-ring span {
	font-size: 0.76rem;
	font-weight: 750;
	opacity: 0.65;
}

.match-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 10px;
	margin-top: 30px;
}

.tile {
	aspect-ratio: 1;
	display: grid;
	place-items: center;
	border-radius: 14px;
	background: rgba(8, 32, 50, 0.72);
	color: var(--accent);
	font-size: 1.4rem;
	font-weight: 900;
	box-shadow: inset 0 0 0 1px rgba(255,255,255,0.12);
}

.tile.open {
	color: #082032;
	background: rgba(255,255,255,0.76);
}

.features {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px;
	padding: 0 0 105px;
}

.feature {
	padding: 28px;
	border: 1px solid var(--line);
	border-radius: 22px;
	background: var(--panel);
}

.feature-number {
	color: var(--accent);
	font-size: 0.76rem;
	font-weight: 850;
	letter-spacing: 0.12em;
}

.feature h2 {
	margin: 22px 0 10px;
	font-size: 1.22rem;
	letter-spacing: -0.025em;
}

.feature p {
	margin: 0;
	color: var(--muted);
	line-height: 1.62;
}

.preview-section {
	padding: 0 0 105px;
}

.section-heading {
	margin: 0 0 28px;
	font-size: clamp(2rem, 4vw, 3.1rem);
	letter-spacing: -0.045em;
}

.gallery {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px;
}

.gallery img {
	width: 100%;
	display: block;
	border: 1px solid var(--line);
	border-radius: 22px;
	box-shadow: 0 22px 55px rgba(0,0,0,0.26);
}

.footnote {
	margin: 22px 0 0;
	color: var(--muted);
	font-size: 0.9rem;
}

footer {
	padding: 28px 0 38px;
	display: flex;
	justify-content: space-between;
	gap: 20px;
	border-top: 1px solid var(--line);
	color: var(--muted);
	font-size: 0.85rem;
}

footer a {
	text-decoration: none;
}

footer a:hover {
	color: var(--ink);
}

@media (max-width: 800px) {
	.hero {
		grid-template-columns: 1fr;
		gap: 54px;
		padding-top: 48px;
	}

	.hero-copy {
		text-align: center;
	}

	.lede {
		margin-right: auto;
		margin-left: auto;
	}

	.actions {
		justify-content: center;
	}

	.visual {
		min-height: auto;
	}

	.phone-card {
		transform: none;
	}

	.features {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 600px) {
	.shell {
		width: min(100% - 28px, 1120px);
	}

	nav {
		height: 68px;
	}

	h1 {
		font-size: 3.45rem;
	}

	.hero {
		padding-bottom: 76px;
	}

	.actions {
		flex-direction: column;
	}

	.gallery {
		grid-template-columns: 1fr;
	}

	.gallery img {
		width: min(390px, 100%);
		margin: 0 auto;
	}

	footer {
		flex-direction: column;
	}
}

@media (prefers-reduced-motion: no-preference) {
	.hero-copy {
		animation: rise 0.65s ease both;
	}

	.phone-card {
		animation: rise 0.65s 0.12s ease both;
	}

	@keyframes rise {
		from { opacity: 0; translate: 0 18px; }
		to { opacity: 1; translate: 0 0; }
	}
}
