:root {
	--ink: #f5f5f7;
	--muted: #9b9ba3;
	--blue: #0a93ff;
	--yellow: #ffd60a;
	--purple: #9b7cff;
	--paper: #030303;
	--surface: #171719;
	--surface-soft: #0d0d0f;
	--line: rgba(255, 255, 255, 0.1);
	--max: 1200px;
}

* {
	box-sizing: border-box;
}

html {
	overflow-x: hidden;
	scroll-behavior: smooth;
	scroll-padding-top: 24px;
}

body {
	margin: 0;
	overflow-x: hidden;
	background: var(--paper);
	color: var(--ink);
	font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
	font-size: 16px;
	-webkit-font-smoothing: antialiased;
}

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

img {
	display: block;
	max-width: 100%;
}

h1,
h2,
h3,
p {
	margin-top: 0;
}

h1,
h2,
h3 {
	font-kerning: normal;
	letter-spacing: -0.02em;
	text-wrap: balance;
}

p,
li,
summary {
	text-wrap: pretty;
}

h2 {
	margin-bottom: 24px;
	font-size: clamp(2.6rem, 4.8vw, 4.75rem);
	font-weight: 720;
	line-height: 0.98;
}

h3 {
	margin-bottom: 14px;
	font-size: clamp(1.45rem, 2vw, 2rem);
	line-height: 1.05;
}

a:focus-visible,
summary:focus-visible {
	border-radius: 8px;
	outline: 3px solid var(--blue);
	outline-offset: 5px;
}

.skip-link {
	position: fixed;
	top: 12px;
	left: 12px;
	z-index: 100;
	padding: 10px 16px;
	border-radius: 999px;
	background: #fff;
	color: #000;
	transform: translateY(-160%);
}

.skip-link:focus {
	transform: translateY(0);
}

.topbar {
	position: relative;
	z-index: 10;
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: min(calc(100% - 48px), var(--max));
	margin: 0 auto;
	padding: 22px 0;
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 11px;
	width: fit-content;
	font-size: 1.18rem;
	font-weight: 700;
	letter-spacing: -0.035em;
}

.brand img {
	border-radius: 12px;
	box-shadow: 0 10px 28px rgba(84, 55, 184, 0.2);
}

.top-download {
	padding: 10px 17px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.07);
	font-size: 0.9rem;
	font-weight: 650;
	transition: border-color 180ms ease, background 180ms ease;
}

.top-download:hover {
	border-color: rgba(255, 255, 255, 0.2);
	background: rgba(255, 255, 255, 0.11);
}

.hero {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(390px, 0.92fr);
	align-items: center;
	width: min(calc(100% - 48px), var(--max));
	min-height: 830px;
	margin: 0 auto 105px;
	padding: 48px 0 64px;
}

.hero-copy {
	position: relative;
	z-index: 2;
	padding-bottom: 40px;
}

.eyebrow,
.kicker {
	color: #c4c4ca;
	font-size: 0.76rem;
	font-weight: 680;
	letter-spacing: 0.13em;
	text-transform: uppercase;
}

.eyebrow {
	margin-bottom: 26px;
}

.kicker {
	margin-bottom: 20px;
	color: var(--blue);
}

h1 {
	margin: 0 0 28px;
	font-size: clamp(3.8rem, 5.5vw, 5.55rem);
	font-weight: 700;
	letter-spacing: -0.025em;
	line-height: 0.92;
}

.hero-line {
	display: inline-block;
	white-space: nowrap;
}

h1 em {
	color: var(--blue);
	font-style: normal;
}

.hero-intro {
	max-width: 570px;
	margin-bottom: 32px;
	color: var(--muted);
	font-size: clamp(1.05rem, 1.45vw, 1.24rem);
	line-height: 1.55;
}

.app-store-button {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 54px;
	padding: 9px 18px;
	border-radius: 15px;
	background: #f6f6f7;
	color: #080808;
	font-size: 1.1rem;
	font-weight: 650;
	line-height: 1;
	transition: transform 180ms ease, box-shadow 180ms ease;
}

.app-store-button:hover {
	box-shadow: 0 16px 34px rgba(10, 147, 255, 0.16);
	transform: translateY(-2px);
}

.app-store-button .apple {
	font-size: 2rem;
}

.app-store-button span:last-child {
	display: grid;
	gap: 2px;
}

.app-store-button small {
	font-size: 0.62rem;
	font-weight: 500;
}

.availability {
	margin: 15px 0 0 3px;
	color: #77777f;
	font-size: 0.78rem;
}

.hero-visual {
	position: relative;
	display: flex;
	align-items: flex-start;
	justify-content: flex-end;
	height: auto;
}

.hero-visual img {
	position: relative;
	z-index: 2;
	width: 380px;
	height: auto;
	filter: drop-shadow(0 28px 70px rgba(0, 0, 0, 0.45));
}

.hero-glow {
	position: absolute;
	top: 17%;
	right: -9%;
	width: 560px;
	height: 560px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(10, 147, 255, 0.23), rgba(10, 147, 255, 0.05) 48%, transparent 72%);
	filter: blur(16px);
}

.section {
	width: min(calc(100% - 48px), var(--max));
	margin: 0 auto 170px;
}

.section-copy {
	max-width: 560px;
}

.section-copy > p:not(.kicker) {
	color: var(--muted);
	font-size: 1.08rem;
	line-height: 1.65;
}

.day-view {
	display: grid;
	grid-template-columns: 0.86fr 1.14fr;
	align-items: center;
	gap: 86px;
}

.feature-list {
	display: grid;
	gap: 13px;
	margin: 30px 0 0;
	padding: 0;
	list-style: none;
}

.feature-list li {
	position: relative;
	padding-left: 19px;
	color: #d4d4d8;
	line-height: 1.5;
}

.feature-list li::before {
	position: absolute;
	top: 0.63em;
	left: 0;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--blue);
	content: "";
}

.rhythm-card {
	position: relative;
	display: grid;
	min-height: 610px;
	place-items: center;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 42px;
	background:
		radial-gradient(circle at 50% 50%, rgba(10, 147, 255, 0.09), transparent 42%),
		linear-gradient(145deg, #151517, #0c0c0d);
}

.rhythm-card::before {
	position: absolute;
	width: 430px;
	height: 430px;
	border: 1px solid rgba(255, 255, 255, 0.05);
	border-radius: 50%;
	content: "";
}

.rhythm-ring {
	--ring-thickness: 42px;
	position: relative;
	width: 390px;
	height: 390px;
	border-radius: 50%;
	filter: drop-shadow(0 30px 70px rgba(10, 147, 255, 0.14));
}

.rhythm-ring::before {
	position: absolute;
	inset: 0;
	border-radius: inherit;
	background: conic-gradient(
		from 214deg,
		var(--blue) 0deg 190deg,
		#6b52d8 190deg 230deg,
		#2a2a2e 230deg 360deg
	);
	-webkit-mask: radial-gradient(farthest-side, transparent calc(100% - var(--ring-thickness)), #000 0);
	mask: radial-gradient(farthest-side, transparent calc(100% - var(--ring-thickness)), #000 0);
	content: "";
}

.ring-center {
	position: absolute;
	inset: 0;
	z-index: 1;
	display: grid;
	place-items: center;
	font-size: 3.2rem;
	font-weight: 690;
	letter-spacing: -0.06em;
}

.ring-label {
	position: absolute;
	z-index: 2;
	padding: 8px 12px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 999px;
	background: rgba(8, 8, 9, 0.84);
	font-size: 0.78rem;
	font-weight: 650;
	backdrop-filter: blur(8px);
}

.ring-label::before {
	display: inline-block;
	width: 6px;
	height: 6px;
	margin-right: 6px;
	border-radius: 50%;
	background: currentColor;
	content: "";
}

.ring-drink {
	top: 62px;
	left: 17px;
	color: var(--blue);
}

.ring-sip {
	top: 72px;
	right: 0;
	color: var(--purple);
}

.ring-sleep {
	right: 15px;
	bottom: 65px;
	color: #8c8c94;
}

.history-section {
	display: grid;
	grid-template-columns: 1.08fr 0.92fr;
	align-items: center;
	gap: 90px;
}

.history-visual {
	position: relative;
	display: flex;
	align-items: flex-start;
	justify-content: flex-start;
	height: auto;
}

.history-visual img {
	position: relative;
	z-index: 2;
	width: 390px;
	height: auto;
	filter: drop-shadow(0 34px 75px rgba(0, 0, 0, 0.5));
}

.history-glow {
	position: absolute;
	top: 22%;
	left: 3%;
	width: 520px;
	height: 520px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(255, 214, 10, 0.13), rgba(10, 147, 255, 0.06) 48%, transparent 73%);
	filter: blur(24px);
}

.mini-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	margin-top: 34px;
}

.mini-grid article {
	padding: 21px;
	border: 1px solid var(--line);
	border-radius: 19px;
	background: rgba(255, 255, 255, 0.035);
}

.mini-grid strong,
.mini-grid span {
	display: block;
}

.mini-grid strong {
	margin-bottom: 8px;
	font-size: 0.97rem;
	letter-spacing: -0.02em;
}

.mini-grid span {
	color: #8f8f97;
	font-size: 0.83rem;
	line-height: 1.5;
}

.method-section {
	margin-bottom: 170px;
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
	background:
		radial-gradient(circle at 72% 48%, rgba(123, 91, 245, 0.14), transparent 26%),
		#0b0b0d;
}

.method-inner {
	display: grid;
	grid-template-columns: 0.9fr 1.1fr;
	align-items: center;
	gap: 90px;
	width: min(calc(100% - 48px), var(--max));
	min-height: 820px;
	margin: 0 auto;
}

.method-copy {
	max-width: 545px;
}

.method-copy > p:not(.kicker) {
	color: var(--muted);
	font-size: 1.08rem;
	line-height: 1.65;
}

.research-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 13px;
	padding-bottom: 4px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.25);
	color: #dedee2;
	font-size: 0.9rem;
	font-weight: 620;
}

.research-link span {
	color: var(--blue);
}

.tips-visual {
	position: relative;
	display: flex;
	align-items: flex-start;
	justify-content: flex-end;
	height: auto;
	overflow: hidden;
}

.tips-visual img {
	position: relative;
	z-index: 2;
	width: 360px;
	height: auto;
	margin-top: 40px;
	filter: drop-shadow(0 35px 80px rgba(0, 0, 0, 0.5));
}

.section-heading {
	max-width: 760px;
	margin-bottom: 48px;
}

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

.feature-card {
	min-height: 275px;
	padding: 30px;
	border: 1px solid var(--line);
	border-radius: 28px;
	background: linear-gradient(155deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.022));
}

.feature-number {
	display: inline-block;
	margin-bottom: 48px;
	color: var(--blue);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.12em;
}

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

.faq-section {
	display: grid;
	grid-template-columns: 0.78fr 1.22fr;
	gap: 85px;
}

.faq-list {
	border-top: 1px solid var(--line);
}

.faq-list details {
	border-bottom: 1px solid var(--line);
}

.faq-list summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 24px 0;
	cursor: pointer;
	font-size: 1.05rem;
	font-weight: 630;
	list-style: none;
}

.faq-list summary::-webkit-details-marker {
	display: none;
}

.faq-list summary span {
	color: var(--blue);
	font-size: 1.4rem;
	font-weight: 400;
	transition: transform 180ms ease;
}

.faq-list details[open] summary span {
	transform: rotate(45deg);
}

.faq-list details p {
	max-width: 650px;
	margin: -7px 40px 24px 0;
	color: var(--muted);
	line-height: 1.65;
}

.download-section {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	overflow: hidden;
	width: min(calc(100% - 48px), var(--max));
	margin: 0 auto 58px;
	padding: 95px 30px 100px;
	border: 1px solid var(--line);
	border-radius: 38px;
	background: #0d0d0f;
	text-align: center;
}

.download-section > *:not(.download-glow) {
	position: relative;
	z-index: 2;
}

.download-section > img {
	margin-bottom: 27px;
	border-radius: 24px;
	box-shadow: 0 24px 60px rgba(84, 55, 184, 0.3);
}

.download-section .kicker {
	margin-bottom: 21px;
}

.download-section h2 {
	margin-bottom: 17px;
}

.download-section > p:not(.kicker) {
	margin-bottom: 28px;
	color: var(--muted);
	font-size: 1.08rem;
}

.download-glow {
	position: absolute;
	top: -180px;
	left: 50%;
	width: 700px;
	height: 500px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(10, 147, 255, 0.22), rgba(132, 73, 225, 0.09) 46%, transparent 72%);
	filter: blur(20px);
	transform: translateX(-50%);
}

footer {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 30px;
	width: min(calc(100% - 48px), var(--max));
	margin: 0 auto;
	padding: 24px 0 46px;
	color: #77777f;
	font-size: 0.78rem;
}

.footer-brand {
	color: #c7c7cc;
	font-size: 1rem;
}

footer nav {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 22px;
}

footer nav a:hover {
	color: #fff;
}

footer > p {
	justify-self: end;
	margin: 0;
}

@media (max-width: 1000px) {
	.hero {
		grid-template-columns: minmax(0, 1fr) minmax(360px, 0.85fr);
	}

	.day-view,
	.history-section,
	.method-inner {
		gap: 55px;
	}

	.rhythm-card {
		min-height: 540px;
	}

	.rhythm-ring {
		width: 340px;
		height: 340px;
	}

	.rhythm-card::before {
		width: 385px;
		height: 385px;
	}

	.history-visual img {
		width: 360px;
	}
}

@media (max-width: 850px) {
	.topbar {
		width: min(calc(100% - 34px), var(--max));
	}

	.hero {
		grid-template-columns: 1fr;
		width: min(calc(100% - 34px), 650px);
		margin-bottom: 95px;
		padding-top: 54px;
		text-align: center;
	}

	.hero-copy {
		padding-bottom: 56px;
	}

	.hero-intro {
		margin-inline: auto;
	}

	.hero-visual {
		justify-content: center;
		height: auto;
	}

	.hero-visual img {
		width: min(330px, 80vw);
	}

	.hero-glow {
		right: 50%;
		width: 110vw;
		transform: translateX(50%);
	}

	.section,
	.method-inner,
	.download-section,
	footer {
		width: min(calc(100% - 34px), 680px);
	}

	.section {
		margin-bottom: 125px;
	}

	.day-view,
	.history-section,
	.method-inner,
	.faq-section {
		grid-template-columns: 1fr;
	}

	.day-view {
		gap: 48px;
	}

	.section-copy,
	.method-copy {
		max-width: 620px;
	}

	.rhythm-card {
		min-height: 600px;
	}

	.history-section {
		gap: 40px;
	}

	.history-copy {
		order: -1;
	}

	.history-visual {
		justify-content: center;
		height: auto;
		overflow: hidden;
	}

	.history-visual img {
		width: min(330px, 80vw);
	}

	.history-glow {
		left: 50%;
		transform: translateX(-50%);
	}

	.method-section {
		margin-bottom: 125px;
	}

	.method-inner {
		padding-top: 105px;
	}

	.tips-visual {
		justify-content: center;
		height: auto;
	}

	.tips-visual img {
		width: min(320px, 78vw);
		margin-top: 35px;
	}

	.feature-cards {
		grid-template-columns: 1fr;
	}

	.feature-card {
		min-height: 0;
	}

	.feature-number {
		margin-bottom: 36px;
	}

	.faq-section {
		gap: 15px;
	}

	footer {
		grid-template-columns: 1fr;
		justify-items: center;
		text-align: center;
	}

	footer > p {
		justify-self: auto;
	}
}

@media (max-width: 520px) {
	.brand img {
		width: 40px;
		height: 40px;
	}

	.top-download {
		padding: 9px 14px;
		font-size: 0.84rem;
	}

	.hero {
		min-height: 0;
		padding-top: 50px;
	}

	.eyebrow {
		font-size: 0.66rem;
		line-height: 1.5;
	}

	h1 {
		font-size: clamp(3rem, 14.5vw, 3.75rem);
	}

	.hero-visual {
		height: auto;
	}

	.hero-visual img {
		width: min(280px, 74vw);
	}

	h2 {
		font-size: clamp(2.5rem, 13vw, 3.6rem);
	}

	.rhythm-card {
		min-height: 455px;
		border-radius: 30px;
	}

	.rhythm-ring {
		--ring-thickness: 32px;
		width: 282px;
		height: 282px;
	}

	.rhythm-card::before {
		width: 320px;
		height: 320px;
	}

	.ring-center {
		font-size: 2.5rem;
	}

	.ring-drink {
		top: 40px;
		left: 4px;
	}

	.ring-sip {
		top: 47px;
		right: -12px;
	}

	.ring-sleep {
		right: 2px;
		bottom: 42px;
	}

	.history-visual {
		height: auto;
	}

	.history-visual img {
		width: min(280px, 74vw);
	}

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

	.method-inner {
		padding-top: 85px;
	}

	.tips-visual {
		height: auto;
	}

	.tips-visual img {
		width: min(280px, 74vw);
		margin-top: 30px;
	}

	.feature-card {
		padding: 25px;
	}

	.download-section {
		padding: 75px 22px 80px;
		border-radius: 30px;
	}

	footer nav {
		gap: 17px;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	.app-store-button,
	.top-download,
	.faq-list summary span {
		transition: none;
	}
}
